From ca86990b30285336063a3785550675484deaef1a Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 11 Aug 2016 14:35:16 -0700 Subject: [PATCH] Include intrin.h in CpuId for the cpuid builtins Summary: Some shuffling and elmination of other includes exposed the fact that this was calling the cpuid builtins, but hadn't included the header they were defined in. Reviewed By: yfeldblum Differential Revision: D3704321 fbshipit-source-id: 332c2d22714abaa74090abe7e7a5b28aec6b905a --- folly/CpuId.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/CpuId.h b/folly/CpuId.h index fe3d58bb..6957d934 100644 --- a/folly/CpuId.h +++ b/folly/CpuId.h @@ -19,6 +19,10 @@ #include #include +#ifdef _MSC_VER +#include +#endif + namespace folly { /** -- 2.34.1