From: Pierre Ossman Date: Thu, 16 Jan 2020 13:18:08 +0000 (+0100) Subject: Use sys/time.h on Windows as well X-Git-Tag: v1.10.90~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e58ac18afee2c71e2e5ca56b26042b8c17e3112;p=tigervnc.git 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. --- 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 {