From cbae1c88df2818e36beb105c6d422b17b4d20a80 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 24 Apr 2021 13:27:58 -0700 Subject: [PATCH] Don't directly include asm/hwcap.h; fix compilation on musl aarch64 sys/auxv.h includes the appropriate headers to provide the HWCAP constants, on both glibc and musl, which makes it unnecessary to include asm/hwcap.h directly. And on musl, asm/hwcap.h doesn't exist. --- arch/arm/armfeature.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/armfeature.c b/arch/arm/armfeature.c index cf31a48f..cea19e61 100644 --- a/arch/arm/armfeature.c +++ b/arch/arm/armfeature.c @@ -2,7 +2,6 @@ #if defined(__linux__) # include -# include #elif defined(__FreeBSD__) && defined(__aarch64__) # include # ifndef ID_AA64ISAR0_CRC32_VAL -- 2.47.3