summaryrefslogtreecommitdiffstats
path: root/src/plist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.h')
-rw-r--r--src/plist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plist.h b/src/plist.h
index 4351ce4..178fb7c 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -30,11 +30,13 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/time.h>
#ifdef _MSC_VER
#pragma warning(disable:4996)
#pragma warning(disable:4244)
+#include <winsock2.h>
+#else
+#include <sys/time.h>
#endif
struct plist_data_s