summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-04-01 07:33:14 -0700
committerMark Salyzyn <salyzyn@google.com>2015-04-01 16:03:39 +0000
commit2263e479a544e7f4d547abcb747fe5896afb9de8 (patch)
treedb56d64714b43a816328e0d1af7d2b2dcdfe12bd /wifi
parente6b2ddbc434f7e7ba64b57170ce78f796cd9ce6d (diff)
downloadhardware_libhardware_legacy-2263e479a544e7f4d547abcb747fe5896afb9de8.zip
hardware_libhardware_legacy-2263e479a544e7f4d547abcb747fe5896afb9de8.tar.gz
hardware_libhardware_legacy-2263e479a544e7f4d547abcb747fe5896afb9de8.tar.bz2
wifi missing include for sys/stat.h
wifi.c gets sys/stat.h inherited from private/android_filesystem_config.h it should not rely on this in the future. The intent is to move fs_config function into libcutils and thus deprecate any need for sys/stat.h in this include file. Bug: 19908228 Change-Id: Ie84477137dba47af385163decbb41b03e2aeaed4
Diffstat (limited to 'wifi')
-rw-r--r--wifi/wifi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wifi/wifi.c b/wifi/wifi.c
index 3e99715..5f24343 100644
--- a/wifi/wifi.c
+++ b/wifi/wifi.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <dirent.h>
#include <sys/socket.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <poll.h>