Message ID | CAH7ZN-xpK2k1NLyiqQPU4atQAm1qSLA7=c6wkgZ_+AgnbBT1+Q@mail.gmail.com |
---|---|
State | Accepted |
Headers | show |
On Thu, Apr 02, 2015 at 10:58:52AM -0700, Dmitry Shmidt wrote: > 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. Thanks, applied.
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 */