OSDN Git Service
(root)
/
android-x86
/
external-openssh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4d797
)
capability used to be under linux, not system
author
Greg Hartman
<ghartman@google.com>
Thu, 7 May 2015 17:27:30 +0000
(10:27 -0700)
committer
Greg Hartman
<ghartman@google.com>
Thu, 7 May 2015 17:28:20 +0000
(10:28 -0700)
Change-Id: Ia04f3f83a237f4cbe636b14f221cffdf9460b3a4
uidswap.c
patch
|
blob
|
history
diff --git
a/uidswap.c
b/uidswap.c
index
ce7a00d
..
392d631
100644
(file)
--- a/
uidswap.c
+++ b/
uidswap.c
@@
-30,7
+30,11
@@
#ifdef ANDROID
#include <private/android_filesystem_config.h>
+#if !defined(GCE_PLATFORM_SDK_VERSION) || (GCE_PLATFORM_SDK_VERSION >= 17)
#include <sys/capability.h>
+#else
+#include <linux/capability.h>
+#endif
#include <sys/prctl.h>
#endif