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