diff options
author | Ben Chan <benchan@chromium.org> | 2018-08-21 14:02:20 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-21 23:11:08 +0200 |
commit | f6c310ba82849f160b180678e6a7110aa210784b (patch) | |
tree | fa59c1219275fe877749d653f5daf298cbda1d23 /src/mm-shared-qmi.c | |
parent | 59e79c996b4863448f68a262bf8be053416a1344 (diff) |
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));
^
Diffstat (limited to 'src/mm-shared-qmi.c')
-rw-r--r-- | src/mm-shared-qmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <config.h> +#include <string.h> #include <arpa/inet.h> #include <glib-object.h> |