summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-01 00:57:24 -0500
committerAdam <Adam@anope.org>2013-03-01 00:57:24 -0500
commit91ad9d22cad8c1da3134975852ba1f732b55dabe (patch)
treef93eb451755e2e531c75d2c16ced8c96f17e243c /src/misc.cpp
parent6aa9ad938a4923bd730516aa97a6e19643fd5c57 (diff)
Fix Windows build
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp2
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)
{