From 4e58ac18afee2c71e2e5ca56b26042b8c17e3112 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 16 Jan 2020 14:18:08 +0100 Subject: [PATCH] Use sys/time.h on Windows as well Modern MinGW seems to provide this, so simplify things a bit. This also side steps some of the issue of the windows.h/winsock2.h include ordering. --- common/rfb/Timer.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/rfb/Timer.h b/common/rfb/Timer.h index 15b5d03d..ef509725 100644 --- a/common/rfb/Timer.h +++ b/common/rfb/Timer.h @@ -21,11 +21,7 @@ #define __RFB_TIMER_H__ #include -#ifdef WIN32 -#include -#else #include -#endif namespace rfb { -- 2.39.5