diff options
author | Greg Hartman <ghartman@google.com> | 2015-05-07 10:27:30 -0700 |
---|---|---|
committer | Greg Hartman <ghartman@google.com> | 2015-05-07 10:28:20 -0700 |
commit | b66687b3143b7e3a18d9667003e1dd8e824ecb9e (patch) | |
tree | b4d819b60cb6b1868c571a53a2115aee1a5a960d /uidswap.c | |
parent | bf4d79746cf93195e24b000f121c46efe04ad349 (diff) |
capability used to be under linux, not system
Change-Id: Ia04f3f83a237f4cbe636b14f221cffdf9460b3a4
Diffstat (limited to 'uidswap.c')
-rw-r--r-- | uidswap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |