freebsd-ports/math/foma/files/patch-flookup.c
Dmitry Sivachenko 8b86aa0005 New port: foma.
Foma is a compiler, programming language, and C library for constructing
finite-state automata and transducers for various uses.  It has specific
support for many natural language processing applications such as producing
morphological analyzers.  Although NLP applications are probably the main use
of foma, it is sufficiently generic to use for a large number of purposes.
2014-05-07 14:34:24 +00:00

10 lines
266 B
C

--- flookup.c.orig 2014-05-07 17:56:43.000000000 +0400
+++ flookup.c 2014-05-07 17:57:05.000000000 +0400
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include "fomalib.h"