diff options
author | Robin Burchell <viroteck@viroteck.net> | 2012-05-23 07:56:37 -0700 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2012-05-23 07:56:37 -0700 |
commit | 13f0d6735fbf6893463d6a55eb7af2a8c029c96c (patch) | |
tree | 700ee0f1caa85a573a15bbdce8ade2f9dc0c809a | |
parent | 196b9a9fb6878bdf686ab4e3bbdef2d1c26fe366 (diff) | |
parent | cfbb5630c580a931494cbe131fec419646f99353 (diff) |
Merge pull request #139 from SaberUK/insp20-unistd-windows
[2.0] 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> |