summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 7a06f299c..13a94331a 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -31,6 +31,10 @@
#define CUSTOM_PRINTF(STRING, FIRST)
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
// Required system headers.
#include <ctime>
#include <cstdarg>