From ae8295905173fcd17dff05ccc7b7b8227fed8c60 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 003806232..6208dccc0 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