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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Nikola Kolev koue at chaosophia.net
Thu May 8 09:44:47 UTC 2014


---
 openbsc/include/openbsc/bsc_msc.h | 4 ++++
 1 file changed, 4 insertions(+)

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>
 
-- 
1.9.2





More information about the OpenBSC mailing list