diff options
Diffstat (limited to 'src/misc.cpp')
-rw-r--r-- | src/misc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 18d737dbc..e9e5c68a3 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -23,8 +23,10 @@ #include <errno.h> #include <sys/types.h> #include <sys/stat.h> +#ifndef _WIN32 #include <sys/socket.h> #include <netdb.h> +#endif NumberList::NumberList(const Anope::string &list, bool descending) : is_valid(true), desc(descending) { |