OSDN Git Service

wifi missing include for sys/stat.h
authorMark Salyzyn <salyzyn@google.com>
Wed, 1 Apr 2015 14:33:14 +0000 (07:33 -0700)
committerMark Salyzyn <salyzyn@google.com>
Wed, 1 Apr 2015 16:03:39 +0000 (16:03 +0000)
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

wifi/wifi.c

index 3e99715..5f24343 100644 (file)
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <dirent.h>
 #include <sys/socket.h>
+#include <sys/stat.h>
 #include <unistd.h>
 #include <poll.h>