Fix Windows build

timeval is declared in winsock2.h, so add the missing include statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-05-01 12:14:47 +02:00
parent 5ccc8a0818
commit 57604ec59d

View File

@ -28,6 +28,9 @@
#include <chrono>
#include <ctime>
#ifdef _WIN32
#include <winsock2.h> // for timeval
#endif
/**********************************************************************
* EANYCODE_CHAR