From 0d270d8345e5f9953366cea9fa513c67da2b1f7e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 5 Mar 2017 23:08:34 +0100 Subject: [PATCH] Include to use SSE2 emulation --- src/libsodium/include/sodium/private/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsodium/include/sodium/private/common.h b/src/libsodium/include/sodium/private/common.h index 26737c75..b3a8f0ba 100644 --- a/src/libsodium/include/sodium/private/common.h +++ b/src/libsodium/include/sodium/private/common.h @@ -218,6 +218,8 @@ store32_be(uint8_t dst[4], uint32_t w) !(defined(__amd64) || defined(__amd64__) || defined(__x86_64__) || \ defined(_M_X64) || defined(_M_AMD64)) +# include + # ifndef _mm_set_epi64x # define _mm_set_epi64x(Q0, Q1) sodium__mm_set_epi64x((Q0), (Q1)) static inline __m128i