From fc737fb76cc889d0c19bd8bf74d2b5f1fc4fbe6e Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Wed, 1 Apr 2015 07:36:23 -0700 Subject: app_main missing include for sys/stat.h app_main.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: I477b825e582742113f849aaa1df50c41e496b6f6 --- cmds/app_process/app_main.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp index c86fd53..c5af992 100644 --- a/cmds/app_process/app_main.cpp +++ b/cmds/app_process/app_main.cpp @@ -7,6 +7,12 @@ #define LOG_TAG "appproc" +#include +#include +#include +#include +#include + #include #include #include @@ -17,11 +23,6 @@ #include #include // for AID_SYSTEM -#include -#include -#include -#include - namespace android { static void app_usage() -- cgit v1.1