aboutsummaryrefslogtreecommitdiff
path: root/src/compat/cpuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/cpuid.h')
-rw-r--r--src/compat/cpuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/cpuid.h b/src/compat/cpuid.h
index 0877ad47d3..e78c1ce6d1 100644
--- a/src/compat/cpuid.h
+++ b/src/compat/cpuid.h
@@ -10,6 +10,8 @@
#include <cpuid.h>
+#include <cstdint>
+
// We can't use cpuid.h's __get_cpuid as it does not support subleafs.
void static inline GetCPUID(uint32_t leaf, uint32_t subleaf, uint32_t& a, uint32_t& b, uint32_t& c, uint32_t& d)
{