early-access version 2853
This commit is contained in:
14
externals/vcpkg/ports/tesseract/fix-timeval.patch
vendored
Executable file
14
externals/vcpkg/ports/tesseract/fix-timeval.patch
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user