From eb02408309de509d16a55332148a76846a869638 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Mon, 12 Oct 2015 08:57:04 -0700 Subject: [PATCH] Don't include immintrin.h if not necessary. --- src/crypto/sha2/asm/copy_swap.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/crypto/sha2/asm/copy_swap.c b/src/crypto/sha2/asm/copy_swap.c index f430292..5f7bbf3 100644 --- a/src/crypto/sha2/asm/copy_swap.c +++ b/src/crypto/sha2/asm/copy_swap.c @@ -3,7 +3,6 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include -#include void copy_swap_hashes(uint32_t *blocks, uint32_t *state) { @@ -42,6 +41,8 @@ void copy_swap_hashes(uint32_t *blocks, uint32_t *state) } #ifdef USE_SSSE3 +#include + void copy_swap_hashes_ssse3(uint32_t *blocks, uint32_t *state) { __m128i mask = _mm_set_epi8(12, 13, 14, 15, 8, 9, 10, 11, 4, 5, 6, 7, 0, 1, 2, 3); -- 1.7.1