summaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorNikola Kolev <koue@chaosophia.net>2014-05-08 12:44:47 +0300
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-09 04:38:58 +0200
commitb9f45987b3ca9e450e3b9ea2d009dfa127009dc7 (patch)
treee3fcdce52297b9dc0de07e134ca41f38fa92a42c /openbsc/include/openbsc
parentabddd6aa441b85d030f0f9c12ca326cf956063fb (diff)
bsc: Fix compilation on FreeBSD
FreeBSD uses POSIX netinet/in.h for representing socket addresses data types. [Holger removed the #ifdef and changed the order of includes to have specific ones first and system includes later]
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/bsc_msc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h
index 0adbd266e..763bae508 100644
--- a/openbsc/include/openbsc/bsc_msc.h
+++ b/openbsc/include/openbsc/bsc_msc.h
@@ -25,6 +25,8 @@
#include <osmocom/core/write_queue.h>
#include <osmocom/core/timer.h>
+#include <netinet/in.h>
+
struct bsc_msc_dest {
struct llist_head list;