mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:28:59 +08:00
f315deab8d
* [tesseract] Fix non-Windows build * version * apply suggestion * version
15 lines
310 B
Diff
15 lines
310 B
Diff
diff --git a/src/ccutil/ocrclass.h b/src/ccutil/ocrclass.h
|
|
index d39a6dd..3755632 100644
|
|
--- a/src/ccutil/ocrclass.h
|
|
+++ b/src/ccutil/ocrclass.h
|
|
@@ -28,6 +28,9 @@
|
|
|
|
#include <chrono>
|
|
#include <ctime>
|
|
+#ifndef _WIN32
|
|
+#include <sys/time.h>
|
|
+#endif
|
|
#ifdef _WIN32
|
|
#include <winsock2.h> // for timeval
|
|
#endif
|