diff options
author | Peter Powell <petpow@saberuk.com> | 2012-05-23 13:15:22 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2012-05-23 13:15:22 +0100 |
commit | cfbb5630c580a931494cbe131fec419646f99353 (patch) | |
tree | 700ee0f1caa85a573a15bbdce8ade2f9dc0c809a | |
parent | 196b9a9fb6878bdf686ab4e3bbdef2d1c26fe366 (diff) |
Fix compile error caused by unistd.h not existing on Windows.
-rw-r--r-- | include/inspircd.h | 2 |
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> |