blob: 2c607ff67c27daa86d6425f0bb123a046c3ef1b6 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From ef743c9c3c7452ae904a5c343ee2b759ab3a87cb Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@ubuntu.com>
3Date: Wed, 7 Sep 2016 12:58:47 +0300
4Subject: [PATCH] Use linux/capability.h on linux systems too
5
6Upstream-Status: Inappropriate
7---
8 include/private/android_filesystem_config.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
12index 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"