summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/src/socket.c')
-rw-r--r--src/shared/libosmocore/src/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/libosmocore/src/socket.c b/src/shared/libosmocore/src/socket.c
index 1a1d71dc..8a8829b7 100644
--- a/src/shared/libosmocore/src/socket.c
+++ b/src/shared/libosmocore/src/socket.c
@@ -18,6 +18,8 @@
#include <sys/socket.h>
#include <sys/types.h>
+#include <netinet/in.h>
+
#include <stdio.h>
#include <unistd.h>
#include <stdint.h>