Gbp-Pq: Name define_PATH_MAX.patch
#include <sys/types.h>
#include <sys/stat.h>
#include "cram/os.h"
-#ifndef PATH_MAX
-# define PATH_MAX 1024
-#endif
#include "cram/open_trace_file.h"
#include "cram/misc.h"
#endif
+/*
+ * in case PATH_MAX is not defined (like in hurd)
+ */
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
/*-----------------------------------------------------------------------------
* Allow for unaligned memory access. This is used in BAM code as the packed
* structure has 4-byte cigar ints after the variable length name.