aboutsummaryrefslogtreecommitdiff
path: root/nametoaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index 0f55341a..c22590ce 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -32,7 +32,8 @@
#endif
#ifdef _WIN32
-#include <pcap-stdinc.h>
+#include <winsock2.h>
+#include <ws2tcpip.h>
#ifdef INET6
/*
@@ -54,8 +55,7 @@
* Wspiapi.h header file. This inline code will be used on older Windows
* platforms that do not natively support the getaddrinfo function."
*
- * We use getaddrinfo(), so we include Wspiapi.h here. pcap-stdinc.h
- * includes Ws2tcpip.h, so we don't need to include it ourselves.
+ * We use getaddrinfo(), so we include Wspiapi.h here.
*/
#include <Wspiapi.h>
#endif