From f6c310ba82849f160b180678e6a7110aa210784b Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Tue, 21 Aug 2018 14:02:20 -0700 Subject: [PATCH] shared-qmi: include string.h for memset() This patch fixes the following compiler warning: mm-shared-qmi.c:447:9: error: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Werror,-Wimplicit-function-declaration] memset (buf, 0, sizeof (buf)); ^ --- src/mm-shared-qmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mm-shared-qmi.c b/src/mm-shared-qmi.c index 25fc29a1..dd08d7fd 100644 --- a/src/mm-shared-qmi.c +++ b/src/mm-shared-qmi.c @@ -14,6 +14,7 @@ */ #include +#include #include #include