aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 16:31:52 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 16:33:32 +0200
commit5e21131c8dd37a536ec7df968d602c2c85580c39 (patch)
tree1d59bf286cba22017c4193632a27545c24be360e
parent336915aa0a86316ba26cdfecbf160ed643ccf301 (diff)
ctrl: Attempt fix the build on FreeBSD and add include file
IPPROTO_TCP is defined in netinet/in.h. Include it and hope the build is fixed for FreeBSD.
-rw-r--r--src/ctrl/control_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index 54bca230..59cf2552 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -32,6 +32,7 @@
#include <arpa/inet.h>
#include <netinet/tcp.h>
+#include <netinet/in.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>