diff --git a/maestro/i_maestro_numa.h b/maestro/i_maestro_numa.h
index eea9361a02bcba182b681588c1827ce710d75771..0ad30c7213dda0d801b9e1716e0c714141b14f11 100644
--- a/maestro/i_maestro_numa.h
+++ b/maestro/i_maestro_numa.h
@@ -50,7 +50,7 @@
 #include <numaif.h>
 #endif
 
-#ifdef defined(__APPLE__) && (!defined(__arm64__))
+#if defined(__APPLE__) && (!defined(__arm64__))
 #include <cpuid.h>
 #endif