From c337693c4ca164833e120624af3c0960180725ee Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Aug 2015 19:56:54 +0000 Subject: stats: Fix build on FreeBSD include stdint.h for int64_t and use netinet/in.h and not netinet/ip.h for getting sockaddr_in and such. --- include/osmocom/core/stats.h | 2 ++ src/stats.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/osmocom/core/stats.h b/include/osmocom/core/stats.h index 731fdb9b..362d3fb3 100644 --- a/include/osmocom/core/stats.h +++ b/include/osmocom/core/stats.h @@ -22,6 +22,8 @@ #include #include +#include + struct msgb; struct osmo_stat_item_group; struct osmo_stat_item_desc; 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 #include #include +#include #include -#include +#include #include #include -- cgit v1.2.3