openbsd-ports/graphics/tesseract/patches/patch-viewer_svutil_h
ajacoutot b9094d6b19 Update to tesseract-2.04
Fixes more than 20 issues, including portability ones.

from Daniel Dickman, thanks!
2009-08-24 07:12:40 +00:00

16 lines
368 B
Plaintext

$OpenBSD: patch-viewer_svutil_h,v 1.2 2009/08/24 07:12:40 ajacoutot Exp $
--- viewer/svutil.h.orig Wed Jun 3 15:01:03 2009
+++ viewer/svutil.h Sun Aug 23 20:25:45 2009
@@ -34,6 +34,11 @@
#else
#include <pthread.h>
#include <semaphore.h>
+#ifdef __OpenBSD__
+#include <unistd.h>
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif
#endif
#include <string>