summaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authorBilly Biggs <vektor@dumbterm.net>2005-09-18 19:52:08 +0000
committerBilly Biggs <vektor@dumbterm.net>2005-09-18 19:52:08 +0000
commit759166f795ab960ddf679f467638be49657f91c1 (patch)
tree7778ef990cf3026dec8bf9dfbc7b518c9f36a3a3 /pixman
parent0978f97e9e606c2ec62fe369b584ece6ad4905ef (diff)
Only include xmmintrin.h if USE_SSE is defined.
Diffstat (limited to 'pixman')
-rw-r--r--pixman/ChangeLog4
-rw-r--r--pixman/src/fbmmx.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/pixman/ChangeLog b/pixman/ChangeLog
index 93f745a1..50a3b627 100644
--- a/pixman/ChangeLog
+++ b/pixman/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-18 Billy Biggs <vektor@dumbterm.net>
+
+ * src/fbmmx.c: Only include xmmintrin.h if USE_SSE is defined.
+
2005-09-15 Billy Biggs <vektor@dumbterm.net>
Bug #4414, reviewed by otaylor, cworth.
diff --git a/pixman/src/fbmmx.c b/pixman/src/fbmmx.c
index 0e18f421..2ba7d8b1 100644
--- a/pixman/src/fbmmx.c
+++ b/pixman/src/fbmmx.c
@@ -44,7 +44,9 @@
#endif
#include <mmintrin.h>
+#ifdef USE_SSE
#include <xmmintrin.h> /* for _mm_shuffle_pi16 and _MM_SHUFFLE */
+#endif
#ifdef RENDER