aboutsummaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
parent5da504d9ebfded35d6244a7bde4412b58fe3543b (diff)
Fix the compilation on FreeBSD.
Diffstat (limited to 'examples')
-rw-r--r--examples/ipa-stream-client.c2
-rw-r--r--examples/ipa-stream-server.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/ipa-stream-client.c b/examples/ipa-stream-client.c
index db1ce62..e139a00 100644
--- a/examples/ipa-stream-client.c
+++ b/examples/ipa-stream-client.c
@@ -6,6 +6,8 @@
#include <signal.h>
#include <sys/time.h>
#include <arpa/inet.h>
+#include <sys/types.h>
+#include <netinet/in.h>
#include <netinet/tcp.h>
#include <osmocom/core/select.h>
diff --git a/examples/ipa-stream-server.c b/examples/ipa-stream-server.c
index c370d5f..4a7a0d2 100644
--- a/examples/ipa-stream-server.c
+++ b/examples/ipa-stream-server.c
@@ -4,6 +4,8 @@
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
+#include <sys/types.h>
+#include <netinet/in.h>
#include <netinet/tcp.h>
#include <osmocom/core/select.h>