diff options
authorAndreas Rottmann <a.rottmann@gmx.at>2015-06-16 23:23:31 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-06-19 20:58:35 +0200
commit797eb7b592e2912ef3e12dbac415f6fa9d444ab9 (patch)
parent4bb3fccb75d4bf66fccb22da27138e702f0cef1c (diff)
build: avoid spurious hard dependency on libosmo-sccp
In the libfilter source code, which is built regardless of --enable-nat, headers from libosmo-sccp were used, thus causing a build failure (see below) when building without --enable-nat, and libosmo-sccp not being installed (or being installed in a prefix not otherwise included in the build). The build fails like this: In file included from ../../../src/libfilter/bsc_msg_filter.c:27:0: ../../../include/openbsc/bsc_nat_sccp.h:27:37: fatal error: osmocom/sccp/sccp_types.h: No such file or directory As the includes seem not to be actually needed, this change fixes the issue by just omitting them.
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/libfilter/bsc_msg_filter.c b/openbsc/src/libfilter/bsc_msg_filter.c
index be518a478..eafeff4db 100644
--- a/openbsc/src/libfilter/bsc_msg_filter.c
+++ b/openbsc/src/libfilter/bsc_msg_filter.c
@@ -24,7 +24,6 @@
#include <openbsc/bsc_msg_filter.h>
#include <openbsc/bsc_nat.h>
-#include <openbsc/bsc_nat_sccp.h>
#include <openbsc/bsc_msc.h>
#include <openbsc/gsm_data.h>
#include <openbsc/debug.h>
@@ -36,8 +35,6 @@
#include <osmocom/gsm/protocol/gsm_08_08.h>
#include <osmocom/gsm/protocol/gsm_04_11.h>
-#include <osmocom/sccp/sccp.h>
int bsc_filter_barr_find(struct rb_root *root, const char *imsi, int *cm, int *lu)
struct bsc_filter_barr_entry *n;