summaryrefslogtreecommitdiff
path: root/pcap/pcap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-09-05 13:51:37 -0700
committerGuy Harris <guy@alum.mit.edu>2017-09-05 13:51:37 -0700
commit787f37eeffdc3c37beeca8357d667ef35880c62b (patch)
treed5d05c10d3cf92fa27558aebf45afa7d737bd74f /pcap/pcap.h
parentd7c711dec95c78d6b638f54e3761bba095042992 (diff)
downloadlibpcap-787f37eeffdc3c37beeca8357d667ef35880c62b.tar.gz
Get rid of pcap-stdinc.h.
On Windows, in each file, include whatever that particular file needs, just as we do on UN*X and MS-DOS.
Diffstat (limited to 'pcap/pcap.h')
-rw-r--r--pcap/pcap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcap/pcap.h b/pcap/pcap.h
index 613a5697..9a3d4156 100644
--- a/pcap/pcap.h
+++ b/pcap/pcap.h
@@ -72,12 +72,12 @@
#include <pcap/export-defs.h>
#if defined(_WIN32)
- #include <pcap-stdinc.h>
+ #include <winsock2.h> /* u_int, u_char etc. */
#elif defined(MSDOS)
- #include <sys/types.h>
- #include <sys/socket.h> /* u_int, u_char etc. */
+ #include <sys/types.h> /* u_int, u_char etc. */
+ #include <sys/socket.h>
#else /* UN*X */
- #include <sys/types.h>
+ #include <sys/types.h> /* u_int, u_char etc. */
#include <sys/time.h>
#endif /* _WIN32/MSDOS/UN*X */