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:
committed by
Lauri Kasanen
parent
b7dc4a16fe
commit
06fd7ac061
@@ -21,11 +21,7 @@
|
||||
#define __RFB_TIMER_H__
|
||||
|
||||
#include <list>
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
namespace rfb {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user