projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14f723
)
Fixed build failure under Visual Studio 14 2015
author
Stephan Eberle
<stephaneberle9@gmail.com>
Tue, 26 Apr 2016 20:28:08 +0000
(22:28 +0200)
committer
Andy Green
<andy@warmcat.com>
Tue, 26 Apr 2016 23:34:43 +0000
(07:34 +0800)
win32port/win32helpers/gettimeofday.h
patch
|
blob
|
history
diff --git
a/win32port/win32helpers/gettimeofday.h
b/win32port/win32helpers/gettimeofday.h
index 0038062326cd77e71ee93ef06d5347aa4733296a..6208dccc03cbc8b5d728de51b96bb1b11e74b033 100644
(file)
--- a/
win32port/win32helpers/gettimeofday.h
+++ b/
win32port/win32helpers/gettimeofday.h
@@
-7,7
+7,9
@@
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
#endif
-#include <winsock2.h>
+#ifdef LWS_MINGW_SUPPORT
+ #include <winsock2.h>
+#endif
#ifndef _TIMEZONE_DEFINED
struct timezone