diff options
author | Minh-Quang Nguyen <minh-quang.nguyen@nutaq.com> | 2016-09-02 14:41:07 -0400 |
---|---|---|
committer | Minh-Quang Nguyen <minh-quang.nguyen@nutaq.com> | 2016-09-02 14:41:07 -0400 |
commit | 202d0a4677b1687f76a6875baa2fcbe694833255 (patch) | |
tree | e343e57d12e28387660c28655a8be1f99c0241f2 /src/common | |
parent | a164b6715c62d060b311cccc1130979018fd1eba (diff) |
sysmo: Fix build error for sysmobts targetnrw/litecell15-merge-and-rebase
Change-Id: I29e9bf8db483376cdf5084658a738f1589622e53
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/oml.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 29cba5ae..06d0ba02 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -45,9 +45,10 @@ #include <osmo-bts/pcuif_proto.h> #ifdef ENABLE_LC15BTS #include "../osmo-bts-litecell15/lc15bts.h" -struct oml_fail_evt_rep_sig_data alarm_sig_data; #endif +struct oml_fail_evt_rep_sig_data alarm_sig_data; + /* FIXME: move this to libosmocore */ static struct tlv_definition abis_nm_att_tlvdef_ipa = { .def = { @@ -1732,6 +1733,7 @@ static int handle_oml_fail_evt_rep_sig(unsigned int subsys, unsigned int signal, sig_data->add_text); break; +#ifdef ENABLE_LC15BTS case S_NM_OML_BTS_DSP_ALIVE_ALARM: memcpy(&res, sig_data->spare, sizeof(unsigned int)); snprintf(log_msg, 100, "Timeout waiting for SYS primitive %s (%d)\n", @@ -1745,6 +1747,7 @@ static int handle_oml_fail_evt_rep_sig(unsigned int subsys, unsigned int signal, NM_EVT_CAUSE_CRIT_DSP_FATAL, sig_data->add_text); break; +#endif case S_NM_OML_BTS_UNKN_MPH_INFO_REQ_ALARM: memcpy(&res, sig_data->spare, sizeof(unsigned int)); |