diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index c383a61c0..3d0a68c2e 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -110,7 +110,7 @@ #include #endif -#ifdef HAVE_CPUID_H +#if defined(HAVE_CPUID_H) && !(defined(__APPLE__) && defined(__aarch64__)) #include #endif diff --git a/src/pulsecore/cpu-x86.c b/src/pulsecore/cpu-x86.c index 317a0101e..d1eb95d2b 100644 --- a/src/pulsecore/cpu-x86.c +++ b/src/pulsecore/cpu-x86.c @@ -24,7 +24,7 @@ #include -#ifdef HAVE_CPUID_H +#if defined(HAVE_CPUID_H) && !(defined(__APPLE__) && defined(__aarch64__)) #include #endif