void-packages/srcpkgs/tesseract-ocr/patches/musl-sys-time.patch
Jürgen Buchmüller 3c5e1e9eaf
tesseract-ocr: update to 4.1.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-07-08 10:59:43 +02:00

12 lines
346 B
Diff

--- src/ccutil/ocrclass.h 2019-07-07 14:34:08.000000000 +0200
+++ src/ccutil/ocrclass.h 2019-07-08 10:47:15.347415888 +0200
@@ -31,6 +31,9 @@
#ifdef _WIN32
#include <winsock2.h> // for timeval
#endif
+#ifndef __GLIBC__
+#include <sys/time.h>
+#endif
/**********************************************************************
* EANYCODE_CHAR