From: Alok Hota Date: Wed, 12 Sep 2018 16:53:05 +0000 (-0500) Subject: swr/rast: add guards for cpuid on Linux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7f381e9ca2b435481a86e4fb45ec13a12ce6d77;p=mesa.git swr/rast: add guards for cpuid on Linux Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/common/isa.hpp b/src/gallium/drivers/swr/rasterizer/common/isa.hpp index aea5740bb66..41af0055f1e 100644 --- a/src/gallium/drivers/swr/rasterizer/common/isa.hpp +++ b/src/gallium/drivers/swr/rasterizer/common/isa.hpp @@ -38,8 +38,10 @@ #include #else #include +#if !defined(__cpuid) #include #endif +#endif class InstructionSet {