summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lr.c b/lr.c
index 23dd6b6..fa6c9ca 100644
--- a/lr.c
+++ b/lr.c
@@ -73,6 +73,11 @@
 #define FNM_CASEFOLD FNM_IGNORECASE
 #endif
 
+/* For Hurd. */
+#if !defined(PATH_MAX)
+#define PATH_MAX 4096
+#endif
+
 static int Cflag;
 static char *Cflags[64];
 static int Gflag;