aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools/android-tools/use-capability.patch
blob: aef2ac2c1c1b4db4884bad443d910477d1d0a393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Subject: use linux/capability.h on linux systems too
Author: Loïc Minier <loic.minier@ubuntu.com>

Upstream-Status: Inappropriate
---
 include/private/android_filesystem_config.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -27,7 +27,7 @@
 #include <sys/types.h>
 #include <stdint.h>
 
-#ifdef HAVE_ANDROID_OS
+#if defined(HAVE_ANDROID_OS) || defined(__linux__)
 #include <linux/capability.h>
 #else
 #include "android_filesystem_capability.h"