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.
This commit is contained in:
Ian Romanick 2006-04-05 19:52:12 +00:00
parent 4697da177d
commit 383c2e1e9e
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-04-05 Ian Romanick <idr@us.ibm.com>
* fb/fbwindow.c:
Include fbmmx.h when USE_MMX is defined. Fixes build problem on
x86-64 resulting from fbHaveMMX being a macro instead of a function
on that platform.
2006-04-04 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/xf8_16bpp/Makefile.am:

View File

@ -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)
{