aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-qmi.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-08-31 15:30:59 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-08-31 15:33:15 +0200
commit7177eeea990f92dacebb967a5d418f3a372e5951 (patch)
tree2bbddf4050bbebcd4b3b7e557b66513c8200231b /src/mm-port-qmi.h
parentd6dafe5cb4096cb2d664d3b6dcfcd7bd2269d79e (diff)
build: use WITH_QRTR exclusively to check for QRTR support
The user may request to disable QRTR support using `--without-qrtr` even if libqmi has QRTR support.
Diffstat (limited to 'src/mm-port-qmi.h')
-rw-r--r--src/mm-port-qmi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-port-qmi.h b/src/mm-port-qmi.h
index e5027252..b238ede8 100644
--- a/src/mm-port-qmi.h
+++ b/src/mm-port-qmi.h
@@ -16,6 +16,8 @@
#ifndef MM_PORT_QMI_H
#define MM_PORT_QMI_H
+#include <config.h>
+
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
@@ -66,7 +68,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPortQmi, g_object_unref)
MMPortQmi *mm_port_qmi_new (const gchar *name,
MMPortSubsys subsys);
-#if QMI_QRTR_SUPPORTED
+#if defined WITH_QRTR
MMPortQmi *mm_port_qmi_new_from_node (const gchar *name,
QrtrNode *node);
#endif