Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc737fb7 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

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
parent 562c6a71
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -7,6 +7,12 @@


#define LOG_TAG "appproc"
#define LOG_TAG "appproc"


#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <unistd.h>

#include <binder/IPCThreadState.h>
#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <binder/ProcessState.h>
#include <utils/Log.h>
#include <utils/Log.h>
@@ -17,11 +23,6 @@
#include <android_runtime/AndroidRuntime.h>
#include <android_runtime/AndroidRuntime.h>
#include <private/android_filesystem_config.h>  // for AID_SYSTEM
#include <private/android_filesystem_config.h>  // for AID_SYSTEM


#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/prctl.h>

namespace android {
namespace android {


static void app_usage()
static void app_usage()