diff mbox

[1/2] FreeBSD uses POSIX netinet/in.h for representing socket addresses data types.

Message ID 1399542287-60444-1-git-send-email-koue@chaosophia.net
State Accepted
Headers show

Commit Message

Nikola Kolev May 8, 2014, 9:44 a.m. UTC
---
 openbsc/include/openbsc/bsc_msc.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h
index 0adbd26..ee867af 100644
--- a/openbsc/include/openbsc/bsc_msc.h
+++ b/openbsc/include/openbsc/bsc_msc.h
@@ -22,6 +22,10 @@ 
 #ifndef BSC_MSC_H
 #define BSC_MSC_H
 
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
+
 #include <osmocom/core/write_queue.h>
 #include <osmocom/core/timer.h>