msm8953-common: libqsap: Include necessary headers explicitly

device/motorola/msm8916-common/libshims/libqsap_shim.c: 57:5: error: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
    strlcpy(wrq.ifr_name, iface, sizeof(wrq.ifr_name));
    ^
device/motorola/msm8916-common/libshims/libqsap_shim.c: 57:5: note: include the header <string.h> or explicitly provide a declaration for 'strlcpy'
Change-Id: I663edbb2ac09363dcac9dec3acf4289349af46d2
This commit is contained in:
Prema Chand Alugu
2018-08-11 13:48:22 +05:30
committed by jeangraff30
parent d8e72e0b21
commit 3018438ec7

View File

@@ -8,6 +8,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/wireless.h>
#include <string.h>
#include "log/log.h"