summaryrefslogtreecommitdiff
path: root/savefile.c
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 /savefile.c
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 'savefile.c')
-rw-r--r--savefile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index 4dd8f545..2629f972 100644
--- a/savefile.c
+++ b/savefile.c
@@ -34,7 +34,8 @@
#include <pcap-types.h>
#ifdef _WIN32
-#include <pcap-stdinc.h>
+#include <io.h>
+#include <fcntl.h>
#endif /* _WIN32 */
#include <errno.h>