Browse Source

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>
Mark Salyzyn 10 years ago
parent
commit
0144ecb8c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/common/wpa_ctrl.c

+ 1 - 0
src/common/wpa_ctrl.c

@@ -21,6 +21,7 @@
 
 
 #ifdef ANDROID
 #ifdef ANDROID
 #include <dirent.h>
 #include <dirent.h>
+#include <sys/stat.h>
 #include <cutils/sockets.h>
 #include <cutils/sockets.h>
 #include "private/android_filesystem_config.h"
 #include "private/android_filesystem_config.h"
 #endif /* ANDROID */
 #endif /* ANDROID */