summaryrefslogtreecommitdiffstats
path: root/compat/msvc/sys/time.h
diff options
context:
space:
mode:
authordscho <johannes.schindelin@gmx.de>2014-09-30 10:03:57 +0200
committerdscho <johannes.schindelin@gmx.de>2014-09-30 10:03:57 +0200
commitbf87073f7a971f30e41af2a140822c4774c01313 (patch)
tree947b84172cc4002a924e777b2b627ada1f5fdabb /compat/msvc/sys/time.h
parentfdf5f8876f5f4bd08aa3dc47268c1f4c4590c0bb (diff)
parentfd075263f91eb3816b2e4e8584172805559ff69f (diff)
downloadlibtdevnc-bf87073f7a971f30e41af2a140822c4774c01313.tar.gz
libtdevnc-bf87073f7a971f30e41af2a140822c4774c01313.zip
Merge pull request #33 from danielgindi/master
More MSVC adjustments, now focuses on the libvncserver
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