From 68d85d5610858e1c7d0427a82bae1fb645f5590a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 16 Jun 2012 17:45:59 +0800 Subject: libgb: Remove dependency to openbsc/debug.h --- openbsc/src/libcommon/debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbsc/src/libcommon') diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c index e15342ba6..68756d0e2 100644 --- a/openbsc/src/libcommon/debug.c +++ b/openbsc/src/libcommon/debug.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -173,8 +174,8 @@ static int filter_fn(const struct log_context *ctx, struct log_target *tar) { struct gsm_subscriber *subscr = ctx->ctx[BSC_CTX_SUBSCR]; - const struct gprs_nsvc *nsvc = ctx->ctx[BSC_CTX_NSVC]; - const struct gprs_nsvc *bvc = ctx->ctx[BSC_CTX_BVC]; + const struct gprs_nsvc *nsvc = ctx->ctx[GPRS_CTX_NSVC]; + const struct gprs_nsvc *bvc = ctx->ctx[GPRS_CTX_BVC]; if ((tar->filter_map & (1 << FLT_IMSI)) != 0 && subscr && strcmp(subscr->imsi, tar->filter_data[FLT_IMSI]) == 0) -- cgit v1.2.3