From 797eb7b592e2912ef3e12dbac415f6fa9d444ab9 Mon Sep 17 00:00:00 2001 From: Andreas Rottmann Date: Tue, 16 Jun 2015 23:23:31 +0200 Subject: 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. --- openbsc/src/libfilter/bsc_msg_filter.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'openbsc/src/libfilter') 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 #include -#include #include #include #include @@ -36,8 +35,6 @@ #include #include -#include - int bsc_filter_barr_find(struct rb_root *root, const char *imsi, int *cm, int *lu) { struct bsc_filter_barr_entry *n; -- cgit v1.2.3