diff --git a/src/Crypto/cpu.c b/src/Crypto/cpu.c index e1614d30..4aeb8d39 100644 --- a/src/Crypto/cpu.c +++ b/src/Crypto/cpu.c @@ -2,7 +2,9 @@ #include "cpu.h" #include "misc.h" +#if defined(_MSC_VER) && !defined(_UEFI) #include "rdrand.h" +#endif #ifndef EXCEPTION_EXECUTE_HANDLER #define EXCEPTION_EXECUTE_HANDLER 1