Windows: add missing Winsock2.h

needed for gethostname()
This commit is contained in:
Corentin Le Molgat
2018-01-16 16:03:41 +01:00
parent 6b60c04c3a
commit 7a71ddcdf4

View File

@@ -19,6 +19,7 @@
#endif
#if defined(_MSC_VER)
#include <windows.h>
#include <Winsock2.h>
#define PATH_MAX 4096
#else
#include <sys/time.h>