summaryrefslogtreecommitdiff
path: root/textproc/randlm/files/patch-src-LDHT-Util.h
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-08-30 14:43:09 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-08-30 14:43:09 +0000
commita826f595d2384365fcb9bc3c86b83f9763854528 (patch)
tree69da13d8dbd06fe327712febbcc4e715d5d69108 /textproc/randlm/files/patch-src-LDHT-Util.h
parentFix a docs conflict from libjpeg-turbo not excluding the DOCS option. (diff)
New port: randlm.
A toolkit for bulding randomized language models. WWW: http://randlm.sourceforge.net/
Notes
Notes: svn path=/head/; revision=366625
Diffstat (limited to 'textproc/randlm/files/patch-src-LDHT-Util.h')
-rw-r--r--textproc/randlm/files/patch-src-LDHT-Util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/randlm/files/patch-src-LDHT-Util.h b/textproc/randlm/files/patch-src-LDHT-Util.h
new file mode 100644
index 000000000000..4d03aae6710f
--- /dev/null
+++ b/textproc/randlm/files/patch-src-LDHT-Util.h
@@ -0,0 +1,13 @@
+--- src/LDHT/Util.h.orig 2012-03-30 14:53:05.000000000 +0400
++++ src/LDHT/Util.h 2014-08-30 18:08:50.000000000 +0400
+@@ -10,6 +10,10 @@
+ #include <cstdlib>
+ #include <cstring>
+ #include <stdint.h>
++#include <unistd.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+
+ #define V(expr) std::cerr << __FILE__ << ":" \
+ << __LINE__ << " " \