aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 5458fa71..b35debc8 100644
--- a/lib.h
+++ b/lib.h
@@ -44,6 +44,10 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096 // Hurd doesn't define this
+#endif
+
struct position {
unsigned int type:6,