summaryrefslogtreecommitdiff
path: root/crc32c.c
diff options
context:
space:
mode:
Diffstat (limited to 'crc32c.c')
-rw-r--r--crc32c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc32c.c b/crc32c.c
index 17bc6b0..8121c68 100644
--- a/crc32c.c
+++ b/crc32c.c
@@ -274,7 +274,7 @@ void crc32c_init(void) {
}
#elif defined(__aarch64__) && (defined(__linux__) || defined(__APPLE__))
-#if defined(__linux__)
+#if defined(__linux__) && defined(HAVE_SYS_AUX_H)
#include <sys/auxv.h>
#elif defined(__APPLE__)
#include <sys/sysctl.h>