void-packages/srcpkgs/tesseract-ocr/patches/musl-sys-time.patch

13 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