mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-01 04:23:22 +01:00
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:
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…
Reference in New Issue
Block a user