From 39eb3749be4232d3b1ccfef13409c6bdea8a2faa Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Mon, 25 Sep 2023 22:41:13 +0200 Subject: iface-modem: actually respect build options iface-modem does not include config.h so it doesnt actually have the meson generated build defines to check against. I found this while trying to use AT commands over D-Bus by enabling at_command_via_dbus, confirming that Meson sees it, defines it in config.h but then I still got the: "Cannot send AT command to modem: operation only allowed in debug mode". Signed-off-by: Robert Marko --- src/mm-iface-modem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 7940a2d6..cc5c3361 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -14,6 +14,8 @@ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. */ +#include + #include #define _LIBMM_INSIDE_MM #include -- cgit v1.2.3-70-g09d2