aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikola Kolev <koue@chaosophia.net>2015-02-25 11:17:51 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-02-25 15:52:14 +0100
commit2f1ddb2709fcdccdbc5830de4cec0f0a7141ecbd (patch)
tree22b725841c5be397329a29abf3587b1cacc2a226 /src
parent5da504d9ebfded35d6244a7bde4412b58fe3543b (diff)
Fix the compilation on FreeBSD.
Diffstat (limited to 'src')
-rw-r--r--src/channel/abis/ipa_stream_client.c1
-rw-r--r--src/channel/abis/ipa_stream_server.c1
-rw-r--r--src/datagram.c1
-rw-r--r--src/stream.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/channel/abis/ipa_stream_client.c b/src/channel/abis/ipa_stream_client.c
index c58710b..555c9ca 100644
--- a/src/channel/abis/ipa_stream_client.c
+++ b/src/channel/abis/ipa_stream_client.c
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
diff --git a/src/channel/abis/ipa_stream_server.c b/src/channel/abis/ipa_stream_server.c
index 0cb7103..07610df 100644
--- a/src/channel/abis/ipa_stream_server.c
+++ b/src/channel/abis/ipa_stream_server.c
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
diff --git a/src/datagram.c b/src/datagram.c
index 6a28ff5..c01ed9e 100644
--- a/src/datagram.c
+++ b/src/datagram.c
@@ -8,6 +8,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/select.h>
diff --git a/src/stream.c b/src/stream.c
index a455d84..8c7fde7 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -8,6 +8,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <osmocom/core/timer.h>
#include <osmocom/core/select.h>