summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/metaentry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/metaentry.c b/src/metaentry.c
index 2e2d7a4..c33d7e2 100644
--- a/src/metaentry.c
+++ b/src/metaentry.c
@@ -43,6 +43,10 @@
#include "metaentry.h"
#include "utils.h"
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
+
/* Free's a metaentry and all its parameters */
static void
mentry_free(struct metaentry *m)