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.
This commit is contained in:
Pierre Ossman 2020-01-16 14:18:08 +01:00 committed by Lauri Kasanen
parent b7dc4a16fe
commit 06fd7ac061

View File

@ -21,11 +21,7 @@
#define __RFB_TIMER_H__ #define __RFB_TIMER_H__
#include <list> #include <list>
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/time.h> #include <sys/time.h>
#endif
namespace rfb { namespace rfb {