summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hexedit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hexedit.h b/src/hexedit.h
index 064db93..d60e89c 100644
--- a/src/hexedit.h
+++ b/src/hexedit.h
@@ -33,6 +33,9 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
#ifdef STDC_HEADERS
#include <stdlib.h>