summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-02 08:30:54 -0400
committerAdam <Adam@anope.org>2012-09-02 08:30:54 -0400
commit1af64a9bbb150b9daae3944d6aae86864c271103 (patch)
treec24a1ac6793e997f83ac66810b611f88855fcd90 /src/dns.cpp
parente3d5140dcc936ff411c438b7e3997104cb5f085a (diff)
Fix Windows
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 25c82e24f..f21453ddd 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -15,9 +15,11 @@
#include "sockets.h"
#include "socketengine.h"
+#ifndef _WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
+#endif
DNSManager *DNSEngine = NULL;