diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-11-22 11:19:37 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-11-22 19:40:21 +0000 |
commit | 6930ded24ab64b6de646ae3e120995b44188bc84 (patch) | |
tree | 1e3f3f4b6a50ef0dd0e8d533f789fff0b707bde4 /text2pcap.c | |
parent | f4d6c7abbc32c5eee10e4f771f5e7fc1cc2639ef (diff) | |
download | wireshark-6930ded24ab64b6de646ae3e120995b44188bc84.tar.gz |
Include <io.h> and <fcntl.h> for _setmode().
Change-Id: I1910275653ef4a985e9894f01cf5cb5fa33070d4
Reviewed-on: https://code.wireshark.org/review/18928
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/text2pcap.c b/text2pcap.c index 1c2e415cb1..960a638106 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -115,6 +115,11 @@ #include <ws_version_info.h> #include <wsutil/inet_addr.h> +#ifdef _WIN32 +#include <io.h> /* for _setmode */ +#include <fcntl.h> /* for O_BINARY */ +#endif + #include <time.h> #include <glib.h> |