aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-25 12:33:33 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-03 14:03:27 +0200
commitb96be39d478045184afbabf990efa735cb958577 (patch)
tree5c2c949924b91290d530f69667d2c126598e22eb
parentbb6034e2d8ca3ad4b7c0a8c893dc93b859e1e57c (diff)
gsm_data: Use osmocom/gsm/sysinfo.h
and include rest_octets.h only in case of BSC
-rw-r--r--openbsc/include/openbsc/gsm_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 0ec9b6f4..055b353d 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -13,12 +13,10 @@
#include <osmocom/gsm/gsm_utils.h>
#include <osmocom/gsm/tlv.h>
#include <osmocom/gsm/rxlev_stat.h>
+#include <osmocom/gsm/sysinfo.h>
#include <osmocom/gsm/protocol/gsm_08_58.h>
-#include <openbsc/system_information.h>
-#include <openbsc/rest_octets.h>
-
struct osmo_msc_data;
struct osmo_bsc_sccp_con;
struct gsm_sms_queue;
@@ -110,6 +108,8 @@ enum gsm_lchan_state {
#ifdef ROLE_BSC
+#include <openbsc/rest_octets.h>
+
#define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3]
/* the data structure stored in msgb->cb for openbsc apps */