diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-05 13:51:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-05 13:51:37 -0700 |
commit | 787f37eeffdc3c37beeca8357d667ef35880c62b (patch) | |
tree | d5d05c10d3cf92fa27558aebf45afa7d737bd74f /pcap/pcap.h | |
parent | d7c711dec95c78d6b638f54e3761bba095042992 (diff) | |
download | libpcap-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.h | 8 |
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 */ |