summaryrefslogtreecommitdiffstats
path: root/compat/msvc/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/msvc/sys/time.h')
-rw-r--r--compat/msvc/sys/time.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/compat/msvc/sys/time.h b/compat/msvc/sys/time.h
index c4964d6..0c47060 100644
--- a/compat/msvc/sys/time.h
+++ b/compat/msvc/sys/time.h
@@ -1,8 +1,10 @@
#pragma once
//http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/430449b3-f6dd-4e18-84de-eebd26a8d668
-#include < time.h >
-#include <windows.h> //I've ommited this line.
+
+#include <time.h>
+#include <winsock2.h>
+
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
#else
OpenPOWER on IntegriCloud