summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-04-05 19:52:12 +0000
committerIan Romanick <idr@us.ibm.com>2006-04-05 19:52:12 +0000
commit383c2e1e9ec54ab9de356993ad552c1aa6ec094f (patch)
treef997200f0b77670b7c798253576e8c8b67677b68 /fb
parent4697da177d545a2f8bb6fd0d6588a1c40532c339 (diff)
Include fbmmx.h in fb/fbwindow.c when USE_MMX is defined. Fixes build
problem on x86-64 resulting from fbHaveMMX being a macro instead of a function on that platform.
Diffstat (limited to 'fb')
-rw-r--r--fb/fbwindow.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fb/fbwindow.c b/fb/fbwindow.c
index 4c1c5463d..8f5355d06 100644
--- a/fb/fbwindow.c
+++ b/fb/fbwindow.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xserver/xorg/fb/fbwindow.c,v 1.10 2006/02/10 22:00:21 anholt Exp $ */
+/* $XdotOrg: xserver/xorg/fb/fbwindow.c,v 1.11 2006/04/03 21:16:30 ajax Exp $ */
/*
* Id: fbwindow.c,v 1.1 1999/11/02 03:54:45 keithp Exp $
*
@@ -32,6 +32,10 @@
#include "fb.h"
+#ifdef USE_MMX
+#include "fbmmx.h"
+#endif
+
Bool
fbCreateWindow(WindowPtr pWin)
{