summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 798da0613..6ddc9bf9c 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -61,8 +61,9 @@
#include "configreader.h"
#include "inspstring.h"
#include "protocol.h"
-
+#include <limits.h> // required for PATH_MAX under gcc 4.3, may break windows
#ifndef PATH_MAX
+#warning Potentially broken system, PATH_MAX undefined
#define PATH_MAX 4096
#endif