mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
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:
parent
5ccc8a0818
commit
57604ec59d
@ -28,6 +28,9 @@
|
||||
|
||||
#include <chrono>
|
||||
#include <ctime>
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h> // for timeval
|
||||
#endif
|
||||
|
||||
/**********************************************************************
|
||||
* EANYCODE_CHAR
|
||||
|
Loading…
Reference in New Issue
Block a user