summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-05-23 13:15:22 +0100
committerPeter Powell <petpow@saberuk.com>2012-05-23 13:15:22 +0100
commitcfbb5630c580a931494cbe131fec419646f99353 (patch)
tree700ee0f1caa85a573a15bbdce8ade2f9dc0c809a /include/inspircd.h
parent196b9a9fb6878bdf686ab4e3bbdef2d1c26fe366 (diff)
Fix compile error caused by unistd.h not existing on Windows.
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>