[PATCH] libqmi-glib: include <string.h> for strlen()
Ben Chan
benchan at chromium.org
Sat Oct 27 06:10:33 UTC 2018
qmi-compat.c:99:38: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
strlen (value_session_information_application_identifier)); \
^
---
src/libqmi-glib/qmi-compat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libqmi-glib/qmi-compat.c b/src/libqmi-glib/qmi-compat.c
index 9afc328..88f832c 100644
--- a/src/libqmi-glib/qmi-compat.c
+++ b/src/libqmi-glib/qmi-compat.c
@@ -19,6 +19,8 @@
* Copyright (C) 2016-2018 Aleksander Morgado <aleksander at aleksander.es>
*/
+#include <string.h>
+
#include "qmi-compat.h"
#include "qmi-utils.h"
--
2.19.1.568.g152ad8e336-goog
More information about the libqmi-devel
mailing list