blob: b8ebe09dc03c5ed2fb9625044125786e06e4a7fb [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001Subject: use linux/capability.h on linux systems too
2Author: Loïc Minier <loic.minier@ubuntu.com>
3
4Upstream-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"