]> The Tcpdump Group git mirrors - libpcap/blobdiff - nametoaddr.c
Get rid of pcap-stdinc.h.
[libpcap] / nametoaddr.c
index 0f55341a3bdcfd314e31570f1fcb2aa1f2410b5c..c22590ce58aaec9b425dabe6bbec76be7fee6930 100644 (file)
@@ -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