changeset 4250:e8953bed56ee

Fix SSE2.
author William Pitcock <nenolod@atheme.org>
date Sun, 03 Feb 2008 21:36:13 -0600
parents 8ce4e7f5b827
children 1046f9c3174d
files src/libSAD/SFMT.c src/libSAD/noicegen.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libSAD/SFMT.c	Sun Feb 03 21:10:16 2008 -0600
+++ b/src/libSAD/SFMT.c	Sun Feb 03 21:36:13 2008 -0600
@@ -43,7 +43,6 @@
 typedef union W128_T w128_t;
 
 #elif defined(HAVE_SSE2)
-  #include <emmintrin.h>
 
 /** 128-bit data structure */
 union W128_T {
--- a/src/libSAD/noicegen.c	Sun Feb 03 21:10:16 2008 -0600
+++ b/src/libSAD/noicegen.c	Sun Feb 03 21:36:13 2008 -0600
@@ -3,6 +3,7 @@
 #include "../../config.h"
 
 #ifdef HAVE_SSE2
+#  include <emmintrin.h>
 #  define SSE2 1
 #endif