diff options
author | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
commit | 91ad9d22cad8c1da3134975852ba1f732b55dabe (patch) | |
tree | f93eb451755e2e531c75d2c16ced8c96f17e243c /src/misc.cpp | |
parent | 6aa9ad938a4923bd730516aa97a6e19643fd5c57 (diff) |
Fix Windows build
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) { |