summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-04-01 17:27:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-01 17:27:21 +0000
commit6b115be0a2004d7b6faa3176e9d3a6460ee110d5 (patch)
treea6fbc1879a779a52ab0df405304d9bbbd9726d17 /cmds
parent78c926c9a3ee2a513bff08ca3e6276eafeebc531 (diff)
parentfa037c65d37b911024d597415beea3a9368a6fb5 (diff)
downloadframeworks_base-6b115be0a2004d7b6faa3176e9d3a6460ee110d5.zip
frameworks_base-6b115be0a2004d7b6faa3176e9d3a6460ee110d5.tar.gz
frameworks_base-6b115be0a2004d7b6faa3176e9d3a6460ee110d5.tar.bz2
am fa037c65: am f942e36a: am 5218065d: Merge "app_main missing include for sys/stat.h"
* commit 'fa037c65d37b911024d597415beea3a9368a6fb5': app_main missing include for sys/stat.h
Diffstat (limited to 'cmds')
-rw-r--r--cmds/app_process/app_main.cpp11
1 files 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 <stdio.h>
+#include <stdlib.h>
+#include <sys/prctl.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <utils/Log.h>
@@ -17,11 +23,6 @@
#include <android_runtime/AndroidRuntime.h>
#include <private/android_filesystem_config.h> // for AID_SYSTEM
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/prctl.h>
-
namespace android {
static void app_usage()