From 8087959acf23897d044707c25e1f8fcb8235c022 Mon Sep 17 00:00:00 2001 From: Stephan Eberle Date: Tue, 26 Apr 2016 22:28:08 +0200 Subject: [PATCH] Fixed build failure under Visual Studio 14 2015 --- win32port/win32helpers/gettimeofday.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win32port/win32helpers/gettimeofday.h b/win32port/win32helpers/gettimeofday.h index 00380623..6208dccc 100644 --- a/win32port/win32helpers/gettimeofday.h +++ b/win32port/win32helpers/gettimeofday.h @@ -7,7 +7,9 @@ #define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL #endif -#include +#ifdef LWS_MINGW_SUPPORT + #include +#endif #ifndef _TIMEZONE_DEFINED struct timezone