aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_ctrl.c
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-04-01 00:58:11 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-03 07:47:36 (GMT)
commit0144ecb8c886edf25ff3769290760fa647dda554 (patch)
tree018ce6772b779eee6918547437221bc49d94b4b2 /src/common/wpa_ctrl.c
parent0bb20efcd00826d5396bacc834f2e47a63a52f4f (diff)
downloadhostap-0144ecb8c886edf25ff3769290760fa647dda554.zip
hostap-0144ecb8c886edf25ff3769290760fa647dda554.tar.gz
hostap-0144ecb8c886edf25ff3769290760fa647dda554.tar.bz2
Android: wpa_ctrl missing include for sys/stat.h
wpa_ctrl.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. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/common/wpa_ctrl.c')
-rw-r--r--src/common/wpa_ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
index ccaaf1b..82d4655 100644
--- a/src/common/wpa_ctrl.c
+++ b/src/common/wpa_ctrl.c
@@ -21,6 +21,7 @@
#ifdef ANDROID
#include <dirent.h>
+#include <sys/stat.h>
#include <cutils/sockets.h>
#include "private/android_filesystem_config.h"
#endif /* ANDROID */