aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-11 15:52:58 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-11 15:52:58 +0100
commitaf9a9b0b44323b4722e7ffbe478d91380f1d8056 (patch)
treee05769c5dba713056302a3a0efcba658af6b4df2
parent87ef68eb33d463d8aad1511a272cbdb779f1ba19 (diff)
talloc_cxt: Fix compiler warning / missing #include
talloc_ctx.c: In function ‘talloc_ctx_init’: talloc_ctx.c:40:2: warning: implicit declaration of function ‘msgb_talloc_ctx_init’ [-Wimplicit-function-declaration] msgb_talloc_ctx_init(ctx_root, 0); ^~~~~~~~~~~~~~~~~~~~ Change-Id: Ib8ebc02d5cf0d2b4019473d3750ae7c6f8a32896
-rw-r--r--openbsc/src/libcommon/talloc_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/talloc_ctx.c b/openbsc/src/libcommon/talloc_ctx.c
index 7a8bfd3f1..5e3d9aebe 100644
--- a/openbsc/src/libcommon/talloc_ctx.c
+++ b/openbsc/src/libcommon/talloc_ctx.c
@@ -18,6 +18,7 @@
*/
#include <osmocom/core/talloc.h>
+#include <osmocom/core/msgb.h>
extern void *tall_bsc_ctx;
extern void *tall_fle_ctx;