aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-20 19:03:18 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-20 19:03:18 +0100
commit0e0a09c610885b0e4255eff9dfccc7b6b52854c2 (patch)
tree63051943238593a752ca60a15637012d4da21e51
parent3a41b80bd7868ced91abb2d48662024f5e50d1cb (diff)
osmo-bts: Include lapdm.h to fix autoconf usability test
Include the LAPDm header file so the size of struct lapdm_channel is known and gsm_data_shared.h can be included by itself.
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 3a7539819..fda3b097b 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -19,6 +19,10 @@
#include <osmocom/abis/e1_input.h>
+#ifndef ROLE_BSC
+#include <osmocom/gsm/lapdm.h>
+#endif
+
struct osmo_bsc_data;
struct osmo_bsc_sccp_con;