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:
Ben Chan
2018-10-16 15:42:44 -07:00
committed by Aleksander Morgado
parent b134272532
commit 04ca18c01f

View File

@@ -14,6 +14,8 @@
* Copyright (C) 2018 Aleksander Morgado <aleksander@aleksander.es>
*/
#include <string.h>
#include <ModemManager.h>
#include <mm-errors-types.h>