diff options
author | Robert Marko <robert.marko@sartura.hr> | 2023-09-25 22:41:13 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-09-27 13:25:36 +0000 |
commit | 39eb3749be4232d3b1ccfef13409c6bdea8a2faa (patch) | |
tree | 6a9273d166f2690fddeea4c91bbf6d8fc594271f | |
parent | aa7ab917f7f62acdc0b41f04208c920add100da5 (diff) |
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 <robert.marko@sartura.hr>
-rw-r--r-- | src/mm-iface-modem.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <config.h> + #include <ModemManager.h> #define _LIBMM_INSIDE_MM #include <libmm-glib.h> |