From e03198972ca78b03ad13cb49112c03a052bb763b Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sun, 3 Jul 2005 07:02:09 +0000 Subject: Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include or , as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to . --- hw/xfree86/xaa/xaa.h | 4 ++++ hw/xfree86/xaa/xaaBitBlt.c | 4 ++++ hw/xfree86/xaa/xaaBitOrder.c | 4 ++++ hw/xfree86/xaa/xaaBitmap.c | 4 ++++ hw/xfree86/xaa/xaaCpyArea.c | 4 ++++ hw/xfree86/xaa/xaaCpyPlane.c | 4 ++++ hw/xfree86/xaa/xaaCpyWin.c | 4 ++++ hw/xfree86/xaa/xaaDashLine.c | 4 ++++ hw/xfree86/xaa/xaaFallback.c | 4 ++++ hw/xfree86/xaa/xaaFillArc.c | 4 ++++ hw/xfree86/xaa/xaaFillPoly.c | 4 ++++ hw/xfree86/xaa/xaaFillRect.c | 4 ++++ hw/xfree86/xaa/xaaGC.c | 4 ++++ hw/xfree86/xaa/xaaGCmisc.c | 6 +++++- hw/xfree86/xaa/xaaImage.c | 4 ++++ hw/xfree86/xaa/xaaInit.c | 4 ++++ hw/xfree86/xaa/xaaInitAccel.c | 4 ++++ hw/xfree86/xaa/xaaLine.c | 4 ++++ hw/xfree86/xaa/xaaLineMisc.c | 4 ++++ hw/xfree86/xaa/xaaNonTEGlyph.c | 4 ++++ hw/xfree86/xaa/xaaNonTEText.c | 6 +++++- hw/xfree86/xaa/xaaOffscreen.c | 4 ++++ hw/xfree86/xaa/xaaOverlay.c | 4 ++++ hw/xfree86/xaa/xaaOverlayDF.c | 4 ++++ hw/xfree86/xaa/xaaPCache.c | 4 ++++ hw/xfree86/xaa/xaaPaintWin.c | 4 ++++ hw/xfree86/xaa/xaaPict.c | 4 ++++ hw/xfree86/xaa/xaaROP.c | 4 ++++ hw/xfree86/xaa/xaaRect.c | 4 ++++ hw/xfree86/xaa/xaaSpans.c | 4 ++++ hw/xfree86/xaa/xaaStateChange.c | 4 ++++ hw/xfree86/xaa/xaaStipple.c | 4 ++++ hw/xfree86/xaa/xaaTEGlyph.c | 4 ++++ hw/xfree86/xaa/xaaTEText.c | 6 +++++- hw/xfree86/xaa/xaaWideLine.c | 4 ++++ hw/xfree86/xaa/xaaWrapper.c | 4 ++++ hw/xfree86/xaa/xaaWrapper.h | 4 ++++ hw/xfree86/xaa/xaacexp.h | 4 ++++ hw/xfree86/xaa/xaalocal.h | 4 ++++ hw/xfree86/xaa/xaarop.h | 4 ++++ hw/xfree86/xaa/xaawrap.h | 4 ++++ 41 files changed, 167 insertions(+), 3 deletions(-) (limited to 'hw/xfree86/xaa') diff --git a/hw/xfree86/xaa/xaa.h b/hw/xfree86/xaa/xaa.h index d4ff7bbd8..fb31fc172 100644 --- a/hw/xfree86/xaa/xaa.h +++ b/hw/xfree86/xaa/xaa.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaa.h,v 1.38 2002/10/21 01:54:04 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XAA_H #define _XAA_H diff --git a/hw/xfree86/xaa/xaaBitBlt.c b/hw/xfree86/xaa/xaaBitBlt.c index 5e2965ca9..73aab81cd 100644 --- a/hw/xfree86/xaa/xaaBitBlt.c +++ b/hw/xfree86/xaa/xaaBitBlt.c @@ -7,6 +7,10 @@ to the fg and bg so CopyPlane can use this. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaBitOrder.c b/hw/xfree86/xaa/xaaBitOrder.c index 7772f3387..eda0b02ca 100644 --- a/hw/xfree86/xaa/xaaBitOrder.c +++ b/hw/xfree86/xaa/xaaBitOrder.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaBitOrder.c,v 1.7 2001/05/18 20:22:31 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include CARD32 XAAReverseBitOrder(CARD32 v); diff --git a/hw/xfree86/xaa/xaaBitmap.c b/hw/xfree86/xaa/xaaBitmap.c index 272b9fb42..b3f00d696 100644 --- a/hw/xfree86/xaa/xaaBitmap.c +++ b/hw/xfree86/xaa/xaaBitmap.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaBitmap.c,v 1.9 2000/06/29 10:55:41 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xaa.h" #include "xaalocal.h" #include "xaacexp.h" diff --git a/hw/xfree86/xaa/xaaCpyArea.c b/hw/xfree86/xaa/xaaCpyArea.c index 5bf4c9858..45e3b6e4a 100644 --- a/hw/xfree86/xaa/xaaCpyArea.c +++ b/hw/xfree86/xaa/xaaCpyArea.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaCpyArea.c,v 1.12 2000/09/28 20:47:59 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaCpyPlane.c b/hw/xfree86/xaa/xaaCpyPlane.c index b614a8afb..5d2af7584 100644 --- a/hw/xfree86/xaa/xaaCpyPlane.c +++ b/hw/xfree86/xaa/xaaCpyPlane.c @@ -10,6 +10,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaCpyWin.c b/hw/xfree86/xaa/xaaCpyWin.c index 13b1a6d05..d35434a18 100644 --- a/hw/xfree86/xaa/xaaCpyWin.c +++ b/hw/xfree86/xaa/xaaCpyWin.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaCpyWin.c,v 1.3tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaDashLine.c b/hw/xfree86/xaa/xaaDashLine.c index de9bd2b92..a2ba8f590 100644 --- a/hw/xfree86/xaa/xaaDashLine.c +++ b/hw/xfree86/xaa/xaaDashLine.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaDashLine.c,v 1.4 2001/10/28 03:34:04 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/xaa/xaaFallback.c b/hw/xfree86/xaa/xaaFallback.c index fe73aef62..3fca17cbb 100644 --- a/hw/xfree86/xaa/xaaFallback.c +++ b/hw/xfree86/xaa/xaaFallback.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaFallback.c,v 1.4 1999/03/14 11:18:09 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaFillArc.c b/hw/xfree86/xaa/xaaFillArc.c index 699491f66..43a351e22 100644 --- a/hw/xfree86/xaa/xaaFillArc.c +++ b/hw/xfree86/xaa/xaaFillArc.c @@ -34,6 +34,10 @@ * * Clipped arcs are dispatched to FillSpans. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaFillPoly.c b/hw/xfree86/xaa/xaaFillPoly.c index 0cf273c5b..1136cbc8f 100644 --- a/hw/xfree86/xaa/xaaFillPoly.c +++ b/hw/xfree86/xaa/xaaFillPoly.c @@ -31,6 +31,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaFillRect.c b/hw/xfree86/xaa/xaaFillRect.c index b7178b9af..d459e979c 100644 --- a/hw/xfree86/xaa/xaaFillRect.c +++ b/hw/xfree86/xaa/xaaFillRect.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaFillRect.c,v 1.15tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaGC.c b/hw/xfree86/xaa/xaaGC.c index 207a12668..451ade394 100644 --- a/hw/xfree86/xaa/xaaGC.c +++ b/hw/xfree86/xaa/xaaGC.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaGC.c,v 1.18 2000/09/28 20:48:00 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaGCmisc.c b/hw/xfree86/xaa/xaaGCmisc.c index d7e6d4d52..24a916bd6 100644 --- a/hw/xfree86/xaa/xaaGCmisc.c +++ b/hw/xfree86/xaa/xaaGCmisc.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaGCmisc.c,v 1.14 2000/05/03 00:44:23 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" @@ -7,7 +11,7 @@ #include #include "scrnintstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xaa.h" diff --git a/hw/xfree86/xaa/xaaImage.c b/hw/xfree86/xaa/xaaImage.c index 6faa7685e..5de432fed 100644 --- a/hw/xfree86/xaa/xaaImage.c +++ b/hw/xfree86/xaa/xaaImage.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaImage.c,v 1.20tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaInit.c b/hw/xfree86/xaa/xaaInit.c index 090436b9b..ca53aaf7a 100644 --- a/hw/xfree86/xaa/xaaInit.c +++ b/hw/xfree86/xaa/xaaInit.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaInit.c,v 1.34 2001/07/19 14:19:42 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaInitAccel.c b/hw/xfree86/xaa/xaaInitAccel.c index a17b152da..9016c6127 100644 --- a/hw/xfree86/xaa/xaaInitAccel.c +++ b/hw/xfree86/xaa/xaaInitAccel.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaInitAccel.c,v 1.35tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaLine.c b/hw/xfree86/xaa/xaaLine.c index 2f9bdb759..be1feb4fd 100644 --- a/hw/xfree86/xaa/xaaLine.c +++ b/hw/xfree86/xaa/xaaLine.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaLine.c,v 1.5 2001/10/28 03:34:04 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/xaa/xaaLineMisc.c b/hw/xfree86/xaa/xaaLineMisc.c index 4c9b01018..e8a28d5d0 100644 --- a/hw/xfree86/xaa/xaaLineMisc.c +++ b/hw/xfree86/xaa/xaaLineMisc.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaLineMisc.c,v 1.4 1998/09/27 04:43:45 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaNonTEGlyph.c b/hw/xfree86/xaa/xaaNonTEGlyph.c index 514a8cf42..75318e51c 100644 --- a/hw/xfree86/xaa/xaaNonTEGlyph.c +++ b/hw/xfree86/xaa/xaaNonTEGlyph.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaNonTEGlyph.c,v 1.4 1998/09/13 05:23:55 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xaa.h" #include "xaalocal.h" #include "xaacexp.h" diff --git a/hw/xfree86/xaa/xaaNonTEText.c b/hw/xfree86/xaa/xaaNonTEText.c index 4882f76a6..0c17a4abf 100644 --- a/hw/xfree86/xaa/xaaNonTEText.c +++ b/hw/xfree86/xaa/xaaNonTEText.c @@ -18,13 +18,17 @@ ********************************************************************/ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" #include "xf86_OSproc.h" #include -#include "font.h" +#include #include "scrnintstr.h" #include "dixfontstr.h" #include "xf86str.h" diff --git a/hw/xfree86/xaa/xaaOffscreen.c b/hw/xfree86/xaa/xaaOffscreen.c index 53d0eb841..fbe029f92 100644 --- a/hw/xfree86/xaa/xaaOffscreen.c +++ b/hw/xfree86/xaa/xaaOffscreen.c @@ -7,6 +7,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaOverlay.c b/hw/xfree86/xaa/xaaOverlay.c index 044e727ee..48968c41f 100644 --- a/hw/xfree86/xaa/xaaOverlay.c +++ b/hw/xfree86/xaa/xaaOverlay.c @@ -1,6 +1,10 @@ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/xaa/xaaOverlay.c,v 1.3 2005/04/20 12:25:39 daniels Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaOverlay.c,v 1.14tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaOverlayDF.c b/hw/xfree86/xaa/xaaOverlayDF.c index 7f5923e42..359e4d4a6 100644 --- a/hw/xfree86/xaa/xaaOverlayDF.c +++ b/hw/xfree86/xaa/xaaOverlayDF.c @@ -6,6 +6,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaOverlayDF.c,v 1.1tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaPCache.c b/hw/xfree86/xaa/xaaPCache.c index 718a99275..139fb7b81 100644 --- a/hw/xfree86/xaa/xaaPCache.c +++ b/hw/xfree86/xaa/xaaPCache.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaPCache.c,v 1.32tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaPaintWin.c b/hw/xfree86/xaa/xaaPaintWin.c index abe1bbb07..cde39d9ea 100644 --- a/hw/xfree86/xaa/xaaPaintWin.c +++ b/hw/xfree86/xaa/xaaPaintWin.c @@ -1,6 +1,10 @@ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/xaa/xaaPaintWin.c,v 1.3 2005/04/20 12:25:39 daniels Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaPaintWin.c,v 1.10 2001/10/28 03:34:04 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaPict.c b/hw/xfree86/xaa/xaaPict.c index a80388eae..b12750421 100644 --- a/hw/xfree86/xaa/xaaPict.c +++ b/hw/xfree86/xaa/xaaPict.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaROP.c b/hw/xfree86/xaa/xaaROP.c index 0f39db96d..f9fe04d1c 100644 --- a/hw/xfree86/xaa/xaaROP.c +++ b/hw/xfree86/xaa/xaaROP.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/xaa/xaaRect.c b/hw/xfree86/xaa/xaaRect.c index 8a7d73a33..9bbecae8b 100644 --- a/hw/xfree86/xaa/xaaRect.c +++ b/hw/xfree86/xaa/xaaRect.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaRect.c,v 1.2 1998/07/25 16:58:51 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaSpans.c b/hw/xfree86/xaa/xaaSpans.c index 113be1536..a1de98c0a 100644 --- a/hw/xfree86/xaa/xaaSpans.c +++ b/hw/xfree86/xaa/xaaSpans.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaSpans.c,v 1.14 2000/03/28 01:21:05 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaStateChange.c b/hw/xfree86/xaa/xaaStateChange.c index a78ed3758..480462588 100644 --- a/hw/xfree86/xaa/xaaStateChange.c +++ b/hw/xfree86/xaa/xaaStateChange.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaStateChange.c,v 3.1 2000/06/20 05:08:49 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xaa/xaaStipple.c b/hw/xfree86/xaa/xaaStipple.c index 66d3a81e3..02a2b32ce 100644 --- a/hw/xfree86/xaa/xaaStipple.c +++ b/hw/xfree86/xaa/xaaStipple.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaStipple.c,v 1.11 2001/10/28 03:34:04 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xaa.h" #include "xaalocal.h" #include "xaacexp.h" diff --git a/hw/xfree86/xaa/xaaTEGlyph.c b/hw/xfree86/xaa/xaaTEGlyph.c index 7a699fd1f..187a9dc61 100644 --- a/hw/xfree86/xaa/xaaTEGlyph.c +++ b/hw/xfree86/xaa/xaaTEGlyph.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaTEGlyph.c,v 1.7 1999/11/06 23:14:46 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xaa.h" #include "xaalocal.h" #include "xaacexp.h" diff --git a/hw/xfree86/xaa/xaaTEText.c b/hw/xfree86/xaa/xaaTEText.c index a4298ddda..3079c6db5 100644 --- a/hw/xfree86/xaa/xaaTEText.c +++ b/hw/xfree86/xaa/xaaTEText.c @@ -18,13 +18,17 @@ ********************************************************************/ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" #include "xf86_OSproc.h" #include -#include "font.h" +#include #include "scrnintstr.h" #include "dixfontstr.h" #include "xf86str.h" diff --git a/hw/xfree86/xaa/xaaWideLine.c b/hw/xfree86/xaa/xaaWideLine.c index 866464854..8e0e5d828 100644 --- a/hw/xfree86/xaa/xaaWideLine.c +++ b/hw/xfree86/xaa/xaaWideLine.c @@ -14,6 +14,10 @@ Original mi code written by Keith Packard. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XFree86LOADER #if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \ || (defined(sun) && defined(__SVR4)) diff --git a/hw/xfree86/xaa/xaaWrapper.c b/hw/xfree86/xaa/xaaWrapper.c index 7ec3dcf7f..5b525684a 100644 --- a/hw/xfree86/xaa/xaaWrapper.c +++ b/hw/xfree86/xaa/xaaWrapper.c @@ -1,3 +1,7 @@ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/hw/xfree86/xaa/xaaWrapper.h b/hw/xfree86/xaa/xaaWrapper.h index fbcf17f6f..9f413f4f7 100644 --- a/hw/xfree86/xaa/xaaWrapper.h +++ b/hw/xfree86/xaa/xaaWrapper.h @@ -1,3 +1,7 @@ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XAA_WRAPPER_H # define _XAA_WRAPPER_H diff --git a/hw/xfree86/xaa/xaacexp.h b/hw/xfree86/xaa/xaacexp.h index 2f75b7e32..9decdc594 100644 --- a/hw/xfree86/xaa/xaacexp.h +++ b/hw/xfree86/xaa/xaacexp.h @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaacexp.h,v 1.3 2000/01/21 02:30:06 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #ifndef FIXEDBASE diff --git a/hw/xfree86/xaa/xaalocal.h b/hw/xfree86/xaa/xaalocal.h index 883e64d5b..e01fa7894 100644 --- a/hw/xfree86/xaa/xaalocal.h +++ b/hw/xfree86/xaa/xaalocal.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaalocal.h,v 1.36tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XAALOCAL_H #define _XAALOCAL_H diff --git a/hw/xfree86/xaa/xaarop.h b/hw/xfree86/xaa/xaarop.h index 1c95727b3..e3f540516 100644 --- a/hw/xfree86/xaa/xaarop.h +++ b/hw/xfree86/xaa/xaarop.h @@ -29,6 +29,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XAAROP_H #define _XAAROP_H diff --git a/hw/xfree86/xaa/xaawrap.h b/hw/xfree86/xaa/xaawrap.h index 5e3e0e683..3ba0c1699 100644 --- a/hw/xfree86/xaa/xaawrap.h +++ b/hw/xfree86/xaa/xaawrap.h @@ -58,6 +58,10 @@ pGC->ops = &XAAPixmapOps;\ pixPriv->flags |= DIRTY +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef RENDER #define XAA_RENDER_PROLOGUE(pScreen,field)\ (GetPictureScreen(pScreen)->field = \ -- cgit v1.2.3