diff --git a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c index 35eb9e6b..c87a2851 100644 --- a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +++ b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c @@ -15,14 +15,15 @@ #include "runtime.h" #include "utils.h" -#if defined(HAVE_WMMINTRIN_H) || \ +#if (defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H)) || \ (defined(_MSC_VER) && _MSC_VER >= 1600 && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))) #pragma GCC target("ssse3") #pragma GCC target("aes") #pragma GCC target("pclmul") -#include +#include +#include #ifndef ENOSYS # define ENOSYS ENXIO