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.
pull/8/head
Pierre Ossman 5 years ago committed by Lauri Kasanen
parent b7dc4a16fe
commit 06fd7ac061

@ -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 {

Loading…
Cancel
Save