summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-21 19:56:54 +0000
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-21 19:56:54 +0000
commitc337693c4ca164833e120624af3c0960180725ee (patch)
tree068dd201f84a4bb7c2fad6c64f301ee4cd1e268b /include/osmocom/core
parent3f838b717e831b99966fc4277f963b6c57340f6d (diff)
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.
Diffstat (limited to 'include/osmocom/core')
-rw-r--r--include/osmocom/core/stats.h2
1 files changed, 2 insertions, 0 deletions
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 <sys/socket.h>
#include <osmocom/core/linuxlist.h>
+#include <stdint.h>
+
struct msgb;
struct osmo_stat_item_group;
struct osmo_stat_item_desc;