summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/plist/Date.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/plist/Date.h b/include/plist/Date.h
index 3cfb7d1..5113cf3 100644
--- a/include/plist/Date.h
+++ b/include/plist/Date.h
@@ -24,7 +24,11 @@
#include <plist/Node.h>
#include <ctime>
+#ifdef _MSC_VER
+#include <winsock2.h>
+#else
#include <sys/time.h>
+#endif
namespace PList
{