commit | 3c16de295480f269a1610c6d2cc559718c39c202 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Jul 12 14:13:41 2012 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Jul 12 14:13:41 2012 +0200 |
tree | 3eb64f911521cf102d80a27f8062af5de0bfb1d2 | |
parent | 3c6a2cef5ed692ba20a925357bbbae13ae8d80db [diff] [blame] |
freebsd: Make libgb compile on FreeBSD Include header files for recfrom/AF_INET and include a struct ip_hdr as it is not available on *BSD.
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index cdee833..aa7ff93 100644 --- a/src/gb/gprs_ns.c +++ b/src/gb/gprs_ns.c
@@ -66,6 +66,8 @@ #include <errno.h> #include <stdint.h> +#include <sys/types.h> +#include <sys/socket.h> #include <arpa/inet.h> #include <osmocom/core/msgb.h>