commit | c337693c4ca164833e120624af3c0960180725ee | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Aug 21 19:56:54 2015 +0000 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Aug 21 19:56:54 2015 +0000 |
tree | 068dd201f84a4bb7c2fad6c64f301ee4cd1e268b | |
parent | 3f838b717e831b99966fc4277f963b6c57340f6d [diff] [blame] |
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.
diff --git a/src/stats.c b/src/stats.c index f979bdc..a072370 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>