Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | Subject: use linux/capability.h on linux systems too |
| 2 | Author: Loïc Minier <loic.minier@ubuntu.com> |
| 3 | |
| 4 | Upstream-Status: Inappropriate |
| 5 | --- |
| 6 | system/core/include/private/android_filesystem_config.h | 2 +- |
| 7 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 | |
| 9 | --- a/system/core/include/private/android_filesystem_config.h |
| 10 | +++ b/system/core/include/private/android_filesystem_config.h |
| 11 | @@ -27,7 +27,7 @@ |
| 12 | #include <sys/types.h> |
| 13 | #include <stdint.h> |
| 14 | |
| 15 | -#ifdef HAVE_ANDROID_OS |
| 16 | +#if defined(HAVE_ANDROID_OS) || defined(__linux__) |
| 17 | #include <linux/capability.h> |
| 18 | #else |
| 19 | #include "android_filesystem_capability.h" |