From: Christopher Dykes Date: Thu, 11 Aug 2016 21:35:16 +0000 (-0700) Subject: Include intrin.h in CpuId for the cpuid builtins X-Git-Tag: v2016.08.15.00~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ca86990b30285336063a3785550675484deaef1a;p=folly.git 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 --- 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 { /**