summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-07-18 16:44:58 -0700
committerElliott Hughes <enh@google.com>2014-07-18 16:46:39 -0700
commitcbbb83b0eb8b09b729c9287238d709bec7b833b5 (patch)
treed919b72981c671687028091aa74bcdd40acab3e6 /adb
parent7677e04ef6a0796172101b6849d48997c2b9899f (diff)
downloadsystem_core-cbbb83b0eb8b09b729c9287238d709bec7b833b5.zip
system_core-cbbb83b0eb8b09b729c9287238d709bec7b833b5.tar.gz
system_core-cbbb83b0eb8b09b729c9287238d709bec7b833b5.tar.bz2
Fix implicit declaration of function 'prctl' in adb.
(cherry picked from commit b4dd6ef223c4744f8583add1b4999c9ce0b5a0fe) Change-Id: Ia64bec746ae8d2c45663f61afb46702838b1e5bf
Diffstat (limited to 'adb')
-rw-r--r--adb/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/adb.c b/adb/adb.c
index 90bdbaa..2c7793d 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -37,8 +37,8 @@
#include <cutils/properties.h>
#include <private/android_filesystem_config.h>
#include <sys/capability.h>
-#include <linux/prctl.h>
#include <sys/mount.h>
+#include <sys/prctl.h>
#include <getopt.h>
#include <selinux/selinux.h>
#else