Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0de03b53 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Assume bionic has up-to-date linux/capability.h

The fallback android_filesystem_capability.h doesn't play nicely with
other kernel headers, since it #undef's __user. If we're building with
bionic (either for device or host), we use the same kernel headers, so
just use those.

Bug: 38056396
Test: build with Host_bionic:true
Change-Id: Idc61b6d96d86891164abe71604924638d67aefe2
parent ddfd5056
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>

#if defined(__ANDROID__)
#if defined(__BIONIC__)
#include <linux/capability.h>
#else
#include "android_filesystem_capability.h"