diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 05:17:17 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 05:20:31 +0800 |
commit | c2b31ed9cda31d9432ae733e6ca112ccf38f0996 (patch) | |
tree | 3d373b72bbb38a976db4d2fc9343e3e16d07c191 /openbsc/tests | |
parent | 5654c5b090dfb797320a53c1132605d8006533de (diff) |
nat: Fix compilation with nat not being enabled.
common_vty.c was including bsc_nat.h which tried to
get the sccp/sccp_types.h which is not required to be
installed. Move all structs using/embedding SCCP structures
into the bsc_nat_sccp.h and include. This should fix
the compilation.
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 1b45014b5..524daf06b 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -26,6 +26,7 @@ #include <openbsc/debug.h> #include <openbsc/gsm_data.h> #include <openbsc/bsc_nat.h> +#include <openbsc/bsc_nat_sccp.h> #include <osmocore/talloc.h> |