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>
This commit is contained in:
Guy Harris 2016-11-22 11:19:37 -08:00
parent f4d6c7abbc
commit 6930ded24a
1 changed files with 5 additions and 0 deletions

View File

@ -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>