openbsd-ports/graphics/tesseract/patches/patch-dict_dawg_cpp

14 lines
332 B
Plaintext

$OpenBSD: patch-dict_dawg_cpp,v 1.2 2009/03/05 08:09:40 ajacoutot Exp $
--- dict/dawg.cpp.orig Mon Mar 17 21:22:09 2008
+++ dict/dawg.cpp Sat Feb 28 08:30:58 2009
@@ -28,6 +28,9 @@
#ifdef __MSW32__
#include <windows.h>
#else
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#endif
#include <netinet/in.h>
#endif
#include "dawg.h"