]> source.dussan.org Git - tigervnc.git/commitdiff
Use sys/time.h on Windows as well
authorPierre Ossman <ossman@cendio.se>
Thu, 16 Jan 2020 13:18:08 +0000 (14:18 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 16 Jan 2020 13:18:08 +0000 (14:18 +0100)
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

index 15b5d03de6e9b38408e27eb76d0101de17a2760a..ef5097250da87ffb4173f90e7b7216404db85636 100644 (file)
 #define __RFB_TIMER_H__
 
 #include <list>
-#ifdef WIN32
-#include <winsock2.h>
-#else
 #include <sys/time.h>
-#endif
 
 namespace rfb {