From 53052963c1d184b521ccff59ceb37be06f518b7e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 4 Jan 2022 18:51:49 +0100 Subject: [PATCH] tests/tests_common.c: Add missing header The header is probably indirectly added by osmocom/iuh/hnbgw.h, but once that's dropped, really weird stuff happens, like talloc crashing in talloc_total_blocks() because the compiled code incorrectly fills msgb_ctx variable in return of msgb_talloc_ctx_init. Change-Id: I7dab8d18d316632989406a9f22917e00a7fd68bf --- src/tests/test_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/test_common.c b/src/tests/test_common.c index 9663157f..bfe487f7 100644 --- a/src/tests/test_common.c +++ b/src/tests/test_common.c @@ -36,6 +36,7 @@ #include #include #include +#include #include