aboutsummaryrefslogtreecommitdiffstats
path: root/community/tesseract-ocr/include-time-h.patch
blob: 4ff1de4509b88f52e55bb43a42a4e0cf5a5f5e85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/ccutil/ocrclass.h b/src/ccutil/ocrclass.h
index d39a6dd..3fd2bee 100644
--- a/src/ccutil/ocrclass.h
+++ b/src/ccutil/ocrclass.h
@@ -28,6 +28,7 @@
 
 #include <chrono>
 #include <ctime>
+#include <sys/time.h>
 #ifdef _WIN32
 #include <winsock2.h> // for timeval
 #endif