summaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index f979bdc8..a0723702 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -28,8 +28,9 @@
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
+#include <sys/types.h>
#include <sys/socket.h>
-#include <netinet/ip.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <osmocom/core/utils.h>