Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From ef743c9c3c7452ae904a5c343ee2b759ab3a87cb Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@ubuntu.com> |
| 3 | Date: Wed, 7 Sep 2016 12:58:47 +0300 |
| 4 | Subject: [PATCH] Use linux/capability.h on linux systems too |
| 5 | |
| 6 | Upstream-Status: Inappropriate |
| 7 | --- |
| 8 | include/private/android_filesystem_config.h | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h |
| 12 | index 2f528b95c8..3e0b00928e 100644 |
| 13 | --- a/include/private/android_filesystem_config.h |
| 14 | +++ b/include/private/android_filesystem_config.h |
| 15 | @@ -27,7 +27,7 @@ |
| 16 | #include <sys/types.h> |
| 17 | #include <stdint.h> |
| 18 | |
| 19 | -#ifdef HAVE_ANDROID_OS |
| 20 | +#if defined(HAVE_ANDROID_OS) || defined(__linux__) |
| 21 | #include <linux/capability.h> |
| 22 | #else |
| 23 | #include "android_filesystem_capability.h" |