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

14 lines
207 B
Diff

--- a/include/tesseract/ocrclass.h
+++ b/include/tesseract/ocrclass.h
@@ -29,6 +29,10 @@
#include <chrono>
#include <ctime>
+#ifndef __GLIBC__
+#include <sys/time.h>
+#endif
+
namespace tesseract {