modem-helpers-qmi: include string.h for memset()
This patch fixes the following compiler warning: mm-modem-helpers-qmi.c:568:5: error: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Werror,-Wimplicit-function-declaration] memset (extended_qmi_lte_bands, 0, extended_qmi_lte_bands_size * sizeof (guint64)); ^
This commit is contained in:

committed by
Aleksander Morgado

parent
b134272532
commit
04ca18c01f
@@ -14,6 +14,8 @@
|
|||||||
* Copyright (C) 2018 Aleksander Morgado <aleksander@aleksander.es>
|
* Copyright (C) 2018 Aleksander Morgado <aleksander@aleksander.es>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
#include <mm-errors-types.h>
|
#include <mm-errors-types.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user