xmm: include string.h for strlen()
This patch fixes the following compiler warning: xmm/mm-modem-helpers-xmm.c:388:38: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration] g_regex_match_full (r, response, strlen (response), 0, 0, &match_info, &inner_error); ^
This commit is contained in:

committed by
Aleksander Morgado

parent
f6c310ba82
commit
7c5cfa13a1
@@ -13,6 +13,8 @@
|
||||
* Copyright (C) 2018 Aleksander Morgado <aleksander@aleksander.es>
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "mm-log.h"
|
||||
#include "mm-modem-helpers.h"
|
||||
#include "mm-modem-helpers-xmm.h"
|
||||
|
Reference in New Issue
Block a user