[BugFix] Fix clang spinloop mwaitx include (#45532)
Signed-off-by: johnny <johnnyychiu@gmail.com>
johnnyychiu committed
Jul 28, 2026 at 20:00 UTC
118bcde449c923ff20fe6336a009e2cef2ba5423
1 file changed
+1
-1
csrc/spinloop.cpp
+1
-1
@@ -7,7 +7,7 @@ extern "C" {
7
8
#if defined(__i386__) || defined(__x86_64__)
9
#include <cpuid.h>
10
- #include <mwaitxintrin.h>
10
+ #include <x86intrin.h>
11
#endif
12
13
#if defined(CLOCK_MONOTONIC_RAW)