summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 8a1c3455d..cabb24aa0 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -55,7 +55,9 @@
#include <cstring>
#include <climits>
#include <cstdio>
+#ifndef WIN32
#include <unistd.h>
+#endif
#include <sstream>
#include <string>