From fe39aaae0eafdab3340ea9a4c4b275c3528b4d75 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 9 Oct 2016 20:42:02 +0200 Subject: add bits/hwcap.h and include it in sys/auxv.h aarch64, arm, mips, mips64, mipsn32, powerpc, powerpc64 and sh have cpu feature bits defined in linux for AT_HWCAP auxv entry, so expose those in sys/auxv.h it seems the mips hwcaps were never exposed to userspace neither by linux nor by glibc, but that's most likely an oversight. --- include/sys/auxv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys/auxv.h') diff --git a/include/sys/auxv.h b/include/sys/auxv.h index 6dcf9adc..ddccf57f 100644 --- a/include/sys/auxv.h +++ b/include/sys/auxv.h @@ -6,6 +6,7 @@ extern "C" { #endif #include +#include unsigned long getauxval(unsigned long); -- cgit v1.2.1