diff --git a/GL/apple/aglGlx.c b/GL/apple/aglGlx.c index fa7533e73d..3906d775fd 100644 --- a/GL/apple/aglGlx.c +++ b/GL/apple/aglGlx.c @@ -34,6 +34,10 @@ */ /* $XFree86: xc/programs/Xserver/GL/apple/aglGlx.c,v 1.2 2003/09/16 00:36:11 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "quartzCommon.h" #include #include "cr.h" diff --git a/GL/apple/indirect.c b/GL/apple/indirect.c index 32227617a6..bbda59f8f6 100644 --- a/GL/apple/indirect.c +++ b/GL/apple/indirect.c @@ -33,6 +33,10 @@ */ /* $XFree86: xc/programs/Xserver/GL/apple/indirect.c,v 1.2 2003/09/16 00:36:11 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "dri.h" #include "quartz.h" diff --git a/GL/glx/g_disptab.c b/GL/glx/g_disptab.c index 8c8dc2cccd..93a9d628d1 100644 --- a/GL/glx/g_disptab.c +++ b/GL/glx/g_disptab.c @@ -29,6 +29,10 @@ ** version 1.2.1 Specification. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab.h" diff --git a/GL/glx/g_disptab.h b/GL/glx/g_disptab.h index 566650bf72..0580b55293 100644 --- a/GL/glx/g_disptab.h +++ b/GL/glx/g_disptab.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/GL/glx/g_disptab.h,v 1.4 2003/09/28 20:15:42 alanh Exp $ */ /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_g_disptab_h_ #define _GLX_g_disptab_h_ /* diff --git a/GL/glx/g_disptab_EXT.c b/GL/glx/g_disptab_EXT.c index c37a236db0..1ce1bd4a74 100644 --- a/GL/glx/g_disptab_EXT.c +++ b/GL/glx/g_disptab_EXT.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/g_disptab_EXT.c,v 1.3 2001/03/21 16:29:35 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/g_disptab_EXT.c,v 1.5 2004/01/28 18:11:50 alanh Exp $ */ /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED */ /* ** License Applicability. Except to the extent portions of this file are @@ -29,6 +29,10 @@ ** version 1.2.1 Specification. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab_EXT.h" @@ -45,8 +49,13 @@ __GLXdispatchRenderProcPtr __glXRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT - __ __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, +#ifndef MISSING_GL_EXTS __glXDisp_PointParameterfARB, /* 2065 */ __glXDisp_PointParameterfvARB, /* 2066 */ +#else + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, +#endif __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, @@ -2104,6 +2113,7 @@ __GLXdispatchRenderProcPtr __glXRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT - __ __glXDisp_CopyTexSubImage1D, /* 4121 */ __glXDisp_CopyTexSubImage2D, /* 4122 */ __glXDisp_CopyTexSubImage3D, /* 4123 */ +#ifndef MISSING_GL_EXTS __glXDisp_FogCoordfv, /* 4124 */ __glXDisp_FogCoorddv, /* 4125 */ __glXDisp_SecondaryColor3bv, /* 4126 */ @@ -2115,6 +2125,19 @@ __GLXdispatchRenderProcPtr __glXRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT - __ __glXDisp_SecondaryColor3usv, /* 4132 */ __glXDisp_SecondaryColor3uiv, /* 4133 */ __glXDisp_BlendFuncSeparate, /* 4134 */ +#else + __glXNoSuchRenderOpcode, /* 4124 */ + __glXNoSuchRenderOpcode, /* 4125 */ + __glXNoSuchRenderOpcode, /* 4126 */ + __glXNoSuchRenderOpcode, /* 4127 */ + __glXNoSuchRenderOpcode, /* 4128 */ + __glXNoSuchRenderOpcode, /* 4129 */ + __glXNoSuchRenderOpcode, /* 4130 */ + __glXNoSuchRenderOpcode, /* 4131 */ + __glXNoSuchRenderOpcode, /* 4132 */ + __glXNoSuchRenderOpcode, /* 4133 */ + __glXNoSuchRenderOpcode, /* 4134 */ +#endif __glXNoSuchRenderOpcode, /* 4135 */ __glXNoSuchRenderOpcode, /* 4136 */ __glXNoSuchRenderOpcode, /* 4137 */ @@ -2200,9 +2223,20 @@ __GLXdispatchRenderProcPtr __glXRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT - __ __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, /* 4219 */ +#ifndef MISSING_GL_EXTS __glXDisp_ActiveStencilFaceEXT, /* 4220 */ +# ifndef __DARWIN__ __glXDisp_PointParameteri, /* 4221 */ __glXDisp_PointParameteriv, /* 4222 */ +# else + __glXDisp_PointParameteriNV, /* 4221 */ + __glXDisp_PointParameterivNV, /* 4222 */ +# endif +#else + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, +#endif }; __GLXdispatchVendorPrivProcPtr __glXVendorPrivTable_EXT[__GLX_MAX_VENDPRIV_OPCODE_EXT - __GLX_MIN_VENDPRIV_OPCODE_EXT + 1] = { __glXDisp_AreTexturesResidentEXT, /* 11 */ @@ -2225,8 +2259,13 @@ __GLXdispatchRenderProcPtr __glXSwapRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, +#ifndef MISSING_GL_EXTS __glXDispSwap_PointParameterfARB, /* 2065 */ __glXDispSwap_PointParameterfvARB, /* 2066 */ +#else + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, +#endif __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, @@ -4284,6 +4323,7 @@ __GLXdispatchRenderProcPtr __glXSwapRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT __glXDispSwap_CopyTexSubImage1D, /* 4121 */ __glXDispSwap_CopyTexSubImage2D, /* 4122 */ __glXDispSwap_CopyTexSubImage3D, /* 4123 */ +#ifndef MISSING_GL_EXTS __glXDispSwap_FogCoordfv, /* 4124 */ __glXDispSwap_FogCoorddv, /* 4125 */ __glXDispSwap_SecondaryColor3bv, /* 4126 */ @@ -4295,6 +4335,19 @@ __GLXdispatchRenderProcPtr __glXSwapRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT __glXDispSwap_SecondaryColor3usv, /* 4132 */ __glXDispSwap_SecondaryColor3uiv, /* 4133 */ __glXDisp_BlendFuncSeparate, /* 4134 */ +#else + __glXNoSuchRenderOpcode, /* 4124 */ + __glXNoSuchRenderOpcode, /* 4125 */ + __glXNoSuchRenderOpcode, /* 4126 */ + __glXNoSuchRenderOpcode, /* 4127 */ + __glXNoSuchRenderOpcode, /* 4128 */ + __glXNoSuchRenderOpcode, /* 4129 */ + __glXNoSuchRenderOpcode, /* 4130 */ + __glXNoSuchRenderOpcode, /* 4131 */ + __glXNoSuchRenderOpcode, /* 4132 */ + __glXNoSuchRenderOpcode, /* 4133 */ + __glXNoSuchRenderOpcode, /* 4134 */ +#endif __glXNoSuchRenderOpcode, /* 4135 */ __glXNoSuchRenderOpcode, /* 4136 */ __glXNoSuchRenderOpcode, /* 4137 */ @@ -4380,9 +4433,20 @@ __GLXdispatchRenderProcPtr __glXSwapRenderTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, __glXNoSuchRenderOpcode, /* 4219 */ +#ifndef MISSING_GL_EXTS __glXDispSwap_ActiveStencilFaceEXT, /* 4220 */ +# ifndef __DARWIN__ __glXDispSwap_PointParameteri, /* 4221 */ __glXDispSwap_PointParameteriv, /* 4222 */ +# else + __glXDispSwap_PointParameteriNV, /* 4221 */ + __glXDispSwap_PointParameterivNV, /* 4222 */ +# endif +#else + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, + __glXNoSuchRenderOpcode, +#endif }; __GLXdispatchVendorPrivProcPtr __glXSwapVendorPrivTable_EXT[__GLX_MAX_VENDPRIV_OPCODE_EXT - __GLX_MIN_VENDPRIV_OPCODE_EXT + 1] = { __glXDispSwap_AreTexturesResidentEXT, /* 11 */ diff --git a/GL/glx/g_disptab_EXT.h b/GL/glx/g_disptab_EXT.h index 52eb443242..33672379b4 100644 --- a/GL/glx/g_disptab_EXT.h +++ b/GL/glx/g_disptab_EXT.h @@ -1,5 +1,9 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/g_disptab_EXT.h,v 1.3 2001/03/21 16:29:35 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/g_disptab_EXT.h,v 1.5 2004/01/28 18:11:50 alanh Exp $ */ /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_g_disptab_EXT_h_ #define _GLX_g_disptab_EXT_h_ /* @@ -95,10 +99,17 @@ extern void __glXDispSwap_SecondaryColor3dv(GLbyte *); extern void __glXDisp_BlendFuncSeparate(GLbyte *); extern void __glXDispSwap_BlendFuncSeparate(GLbyte *); +#ifdef __DARWIN__ +extern void __glXDisp_PointParameteriNV(GLbyte *); +extern void __glXDisp_PointParameterivNV(GLbyte *); +extern void __glXDispSwap_PointParameteriNV(GLbyte *); +extern void __glXDispSwap_PointParameterivNV(GLbyte *); +#else extern void __glXDisp_PointParameteri(GLbyte *); extern void __glXDisp_PointParameteriv(GLbyte *); extern void __glXDispSwap_PointParameteri(GLbyte *); extern void __glXDispSwap_PointParameteriv(GLbyte *); +#endif extern void __glXDisp_ActiveStencilFaceEXT(GLbyte*); diff --git a/GL/glx/g_render.c b/GL/glx/g_render.c index f014e3be5c..28d23da84c 100644 --- a/GL/glx/g_render.c +++ b/GL/glx/g_render.c @@ -30,6 +30,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab.h" diff --git a/GL/glx/g_renderswap.c b/GL/glx/g_renderswap.c index 5c2ed9f583..e22494ed2f 100644 --- a/GL/glx/g_renderswap.c +++ b/GL/glx/g_renderswap.c @@ -29,6 +29,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab.h" diff --git a/GL/glx/g_single.c b/GL/glx/g_single.c index 06529e8c51..a60bf44c12 100644 --- a/GL/glx/g_single.c +++ b/GL/glx/g_single.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/g_single.c,v 1.5 2002/01/14 22:47:08 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/g_single.c,v 1.5tsi Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -29,6 +29,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab.h" @@ -1264,7 +1268,6 @@ int __glXDisp_AreTexturesResident(__GLXclientState *cl, GLbyte *pc) int __glXDisp_DeleteTextures(__GLXclientState *cl, GLbyte *pc) { - GLsizei n; __GLXcontext *cx; int error; @@ -1273,7 +1276,6 @@ int __glXDisp_DeleteTextures(__GLXclientState *cl, GLbyte *pc) return error; } pc += __GLX_SINGLE_HDR_SIZE; - n = *(GLsizei *)(pc + 0); glDeleteTextures( *(GLsizei *)(pc + 0), @@ -1717,7 +1719,6 @@ int __glXDisp_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc) int __glXDisp_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc) { - GLsizei n; __GLXcontext *cx; int error; @@ -1726,7 +1727,6 @@ int __glXDisp_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc) return error; } pc += __GLX_VENDPRIV_HDR_SIZE; - n = *(GLsizei *)(pc + 0); glDeleteTexturesEXT( *(GLsizei *)(pc + 0), diff --git a/GL/glx/g_singleswap.c b/GL/glx/g_singleswap.c index 34515997e8..026530374b 100644 --- a/GL/glx/g_singleswap.c +++ b/GL/glx/g_singleswap.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/g_singleswap.c,v 1.5 2002/01/14 22:47:08 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/g_singleswap.c,v 1.4tsi Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -29,6 +29,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "g_disptab.h" diff --git a/GL/glx/global.c b/GL/glx/global.c index 9cd011ec91..ef9831ec0f 100644 --- a/GL/glx/global.c +++ b/GL/glx/global.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/global.c,v 1.3 2001/03/21 16:29:35 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" /* diff --git a/GL/glx/glxbuf.c b/GL/glx/glxbuf.c index 6e6f6142bc..44be536147 100644 --- a/GL/glx/glxbuf.c +++ b/GL/glx/glxbuf.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxbuf.c,v 1.7 2001/10/31 22:50:26 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/glxbuf.c,v 1.6 2001/03/25 05:32:01 tsi Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "glxbuf.h" diff --git a/GL/glx/glxbuf.h b/GL/glx/glxbuf.h index a298b34717..88b04e8bdf 100644 --- a/GL/glx/glxbuf.h +++ b/GL/glx/glxbuf.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxbuf.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxbuf_h_ #define _glxbuf_h_ diff --git a/GL/glx/glxcmds.c b/GL/glx/glxcmds.c index f756d1830b..f88ec2c994 100644 --- a/GL/glx/glxcmds.c +++ b/GL/glx/glxcmds.c @@ -36,6 +36,10 @@ #define NEED_REPLIES #define FONT_PCF +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include #include diff --git a/GL/glx/glxcmdsswap.c b/GL/glx/glxcmdsswap.c index 450b8bb9b4..595e814e56 100644 --- a/GL/glx/glxcmdsswap.c +++ b/GL/glx/glxcmdsswap.c @@ -36,6 +36,10 @@ #define NEED_REPLIES #define FONT_PCF +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include diff --git a/GL/glx/glxcontext.h b/GL/glx/glxcontext.h index 9a16851f0f..18d8b44c26 100644 --- a/GL/glx/glxcontext.h +++ b/GL/glx/glxcontext.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glxcontext.h,v 1.4 2002/02/22 21:45:07 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_context_h_ #define _GLX_context_h_ diff --git a/GL/glx/glxdrawable.h b/GL/glx/glxdrawable.h index 1d7f443529..38a05bfeb6 100644 --- a/GL/glx/glxdrawable.h +++ b/GL/glx/glxdrawable.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glxdrawable.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_drawable_h_ #define _GLX_drawable_h_ diff --git a/GL/glx/glxerror.h b/GL/glx/glxerror.h index 3c1e93c61b..2c6d6d863f 100644 --- a/GL/glx/glxerror.h +++ b/GL/glx/glxerror.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxerror.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_error_h_ #define _GLX_error_h_ diff --git a/GL/glx/glxext.c b/GL/glx/glxext.c index c86540fa4f..6e0ced9356 100644 --- a/GL/glx/glxext.c +++ b/GL/glx/glxext.c @@ -19,6 +19,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include #include diff --git a/GL/glx/glxext.h b/GL/glx/glxext.h index c6cd219c75..41b4e83e61 100644 --- a/GL/glx/glxext.h +++ b/GL/glx/glxext.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glxext.h,v 1.7 2003/11/17 22:20:26 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxext_h_ #define _glxext_h_ diff --git a/GL/glx/glxfb.c b/GL/glx/glxfb.c index 4ce952d519..0d433d25d4 100644 --- a/GL/glx/glxfb.c +++ b/GL/glx/glxfb.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxfb.c,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -38,6 +38,10 @@ ** An implementation of a buffer which is part of the front buffer */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "glxfb.h" diff --git a/GL/glx/glxfb.h b/GL/glx/glxfb.h index 44a72a3e2f..325146d438 100644 --- a/GL/glx/glxfb.h +++ b/GL/glx/glxfb.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxfb.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxfb_h_ #define _glxfb_h_ diff --git a/GL/glx/glximports.c b/GL/glx/glximports.c index b38456f6ff..fae2346b96 100644 --- a/GL/glx/glximports.c +++ b/GL/glx/glximports.c @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxcontext.h" #include "glximports.h" diff --git a/GL/glx/glximports.h b/GL/glx/glximports.h index 09d8340af5..ef485822e9 100644 --- a/GL/glx/glximports.h +++ b/GL/glx/glximports.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glximports.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glximports_h_ #define _glximports_h_ diff --git a/GL/glx/glxmem.c b/GL/glx/glxmem.c index 0c3ea25a71..21a7c79629 100644 --- a/GL/glx/glxmem.c +++ b/GL/glx/glxmem.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxmem.c,v 1.7 2002/08/28 06:41:26 torrey Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/glxmem.c,v 1.6 2001/10/31 22:50:27 tsi Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -38,6 +38,10 @@ ** Implementation of a buffer in main memory */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxmem.h" #include "glxext.h" diff --git a/GL/glx/glxmem.h b/GL/glx/glxmem.h index 93a2775596..06720dfdf9 100644 --- a/GL/glx/glxmem.h +++ b/GL/glx/glxmem.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxmem.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxmem_h_ #define _glxmem_h_ diff --git a/GL/glx/glxpix.c b/GL/glx/glxpix.c index b21d4ade9a..98c033c984 100644 --- a/GL/glx/glxpix.c +++ b/GL/glx/glxpix.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxpix.c,v 1.4 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/glxpix.c,v 1.3 2000/09/26 15:57:02 tsi Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -38,6 +38,10 @@ ** An implementation of a glx pixmap buffer */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "glxpix.h" diff --git a/GL/glx/glxpix.h b/GL/glx/glxpix.h index d7a9afab03..4b16352b4c 100644 --- a/GL/glx/glxpix.h +++ b/GL/glx/glxpix.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/glxpix.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxpix_h_ #define _glxpix_h_ diff --git a/GL/glx/glxscreens.c b/GL/glx/glxscreens.c index 5a58f265d6..4b228cb4ff 100644 --- a/GL/glx/glxscreens.c +++ b/GL/glx/glxscreens.c @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef IN_MODULE #include #else diff --git a/GL/glx/glxscreens.h b/GL/glx/glxscreens.h index c4d237bbc1..2d68c8b60c 100644 --- a/GL/glx/glxscreens.h +++ b/GL/glx/glxscreens.h @@ -1,3 +1,7 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_screens_h_ #define _GLX_screens_h_ diff --git a/GL/glx/glxserver.h b/GL/glx/glxserver.h index 66d681d2d3..a30a853816 100644 --- a/GL/glx/glxserver.h +++ b/GL/glx/glxserver.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glxserver.h,v 1.5 2003/09/28 20:15:43 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLX_server_h_ #define _GLX_server_h_ diff --git a/GL/glx/glxutil.c b/GL/glx/glxutil.c index 4512aa5e98..03bc19f63e 100644 --- a/GL/glx/glxutil.c +++ b/GL/glx/glxutil.c @@ -36,6 +36,10 @@ #define NEED_REPLIES #define FONT_PCF +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include #include diff --git a/GL/glx/glxutil.h b/GL/glx/glxutil.h index dbf7084b50..2c3090a46b 100644 --- a/GL/glx/glxutil.h +++ b/GL/glx/glxutil.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/GL/glx/glxutil.h,v 1.3 2001/03/21 16:29:37 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glxcmds_h_ #define _glxcmds_h_ diff --git a/GL/glx/impsize.h b/GL/glx/impsize.h index 8932fb33f8..eee60cc3e3 100644 --- a/GL/glx/impsize.h +++ b/GL/glx/impsize.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/impsize.h,v 1.3 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/impsize.h,v 1.4 2003/09/28 20:15:43 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _impsize_h_ #define _impsize_h_ diff --git a/GL/glx/render2.c b/GL/glx/render2.c index 2629a7025f..bc49d4fdd5 100644 --- a/GL/glx/render2.c +++ b/GL/glx/render2.c @@ -35,6 +35,10 @@ */ /* #define NEED_REPLIES */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "unpack.h" #include "g_disptab.h" diff --git a/GL/glx/render2swap.c b/GL/glx/render2swap.c index 7c94b52682..64ba77e5ac 100644 --- a/GL/glx/render2swap.c +++ b/GL/glx/render2swap.c @@ -35,6 +35,10 @@ */ /* #define NEED_REPLIES */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "unpack.h" #include "g_disptab.h" diff --git a/GL/glx/renderpix.c b/GL/glx/renderpix.c index ad5625dd6f..fc4034731f 100644 --- a/GL/glx/renderpix.c +++ b/GL/glx/renderpix.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/renderpix.c,v 1.5 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "unpack.h" #include "g_disptab.h" diff --git a/GL/glx/renderpixswap.c b/GL/glx/renderpixswap.c index 3b0e1f6b79..f356969f9e 100644 --- a/GL/glx/renderpixswap.c +++ b/GL/glx/renderpixswap.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/renderpixswap.c,v 1.5 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "unpack.h" #include "g_disptab.h" diff --git a/GL/glx/rensize.c b/GL/glx/rensize.c index 5d7c7b3679..9cedecfadf 100644 --- a/GL/glx/rensize.c +++ b/GL/glx/rensize.c @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "glxserver.h" #include "GL/glxproto.h" diff --git a/GL/glx/rensizetab.c b/GL/glx/rensizetab.c index 95ba462b21..41656890c6 100644 --- a/GL/glx/rensizetab.c +++ b/GL/glx/rensizetab.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/rensizetab.c,v 1.3 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/rensizetab.c,v 1.5 2004/01/28 18:11:53 alanh Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "g_disptab_EXT.h" diff --git a/GL/glx/single2.c b/GL/glx/single2.c index 5869e8f50f..9fee5ff492 100644 --- a/GL/glx/single2.c +++ b/GL/glx/single2.c @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "glxext.h" diff --git a/GL/glx/single2swap.c b/GL/glx/single2swap.c index c8c496871c..dab98ade92 100644 --- a/GL/glx/single2swap.c +++ b/GL/glx/single2swap.c @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "glxext.h" diff --git a/GL/glx/singlepix.c b/GL/glx/singlepix.c index 85be77d85d..845c46a647 100644 --- a/GL/glx/singlepix.c +++ b/GL/glx/singlepix.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/singlepix.c,v 1.5 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "singlesize.h" diff --git a/GL/glx/singlepixswap.c b/GL/glx/singlepixswap.c index 2b488312e3..ff68ecedf1 100644 --- a/GL/glx/singlepixswap.c +++ b/GL/glx/singlepixswap.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/singlepixswap.c,v 1.6 2001/10/31 22:50:27 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/singlepixswap.c,v 1.5 2001/03/21 16:29:37 dawes Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxext.h" #include "singlesize.h" diff --git a/GL/glx/singlesize.c b/GL/glx/singlesize.c index 3baf035176..04de960a95 100644 --- a/GL/glx/singlesize.c +++ b/GL/glx/singlesize.c @@ -34,6 +34,10 @@ ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "glxserver.h" #include "singlesize.h" diff --git a/GL/glx/singlesize.h b/GL/glx/singlesize.h index 8293380949..bde62092c2 100644 --- a/GL/glx/singlesize.h +++ b/GL/glx/singlesize.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/singlesize.h,v 1.3 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _singlesize_h_ #define _singlesize_h_ diff --git a/GL/glx/unpack.h b/GL/glx/unpack.h index 62fc437617..723fb85f30 100644 --- a/GL/glx/unpack.h +++ b/GL/glx/unpack.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/unpack.h,v 1.5 2002/10/30 12:52:03 alanh Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/glx/unpack.h,v 1.4 2002/01/14 22:47:08 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __GLX_unpack_h__ #define __GLX_unpack_h__ diff --git a/GL/glx/xfont.c b/GL/glx/xfont.c index 3ea767d2bd..c4995e272d 100644 --- a/GL/glx/xfont.c +++ b/GL/glx/xfont.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/glx/xfont.c,v 1.3 2001/03/21 16:29:37 dawes Exp $ */ +/* $XFree86$ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free @@ -35,6 +35,10 @@ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glxserver.h" #include "glxutil.h" #include "g_disptab.h" diff --git a/GL/include/GL/glx_ansic.h b/GL/include/GL/glx_ansic.h index c502880558..c94393fd13 100644 --- a/GL/include/GL/glx_ansic.h +++ b/GL/include/GL/glx_ansic.h @@ -1,7 +1,11 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _glx_ansic_h_ #define _glx_ansic_h_ -/* $XFree86: xc/programs/Xserver/GL/include/GL/glx_ansic.h,v 1.7 2002/04/04 14:05:36 eich Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/include/GL/glx_ansic.h,v 1.5 2001/03/21 20:49:08 dawes Exp $ */ /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free diff --git a/GL/include/GL/xf86glx.h b/GL/include/GL/xf86glx.h index 7a467b9b5a..66f096a981 100644 --- a/GL/include/GL/xf86glx.h +++ b/GL/include/GL/xf86glx.h @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/include/GL/xf86glx.h,v 1.4 2000/02/23 04:46:54 martin Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/include/GL/xf86glx.h,v 1.3 1999/06/14 07:31:41 dawes Exp $ */ /************************************************************************** Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "miscstruct.h" #ifdef XFree86LOADER diff --git a/GL/mesa/X/xf86glx.c b/GL/mesa/X/xf86glx.c index bd8ff7fe04..229e871fa8 100644 --- a/GL/mesa/X/xf86glx.c +++ b/GL/mesa/X/xf86glx.c @@ -33,6 +33,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/GL/mesa/X/xf86glx_util.c b/GL/mesa/X/xf86glx_util.c index ff2654830a..6441a4b4fa 100644 --- a/GL/mesa/X/xf86glx_util.c +++ b/GL/mesa/X/xf86glx_util.c @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * Brian Paul */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "pixmapstr.h" #include "xf86glx_util.h" diff --git a/GL/mesa/X/xf86glx_util.h b/GL/mesa/X/xf86glx_util.h index 0716d6c7dd..809c1550f8 100644 --- a/GL/mesa/X/xf86glx_util.h +++ b/GL/mesa/X/xf86glx_util.h @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * Brian Paul */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XF86GLX_UTIL_H_ #define _XF86GLX_UTIL_H_ diff --git a/GL/mesa/X/xf86glxint.h b/GL/mesa/X/xf86glxint.h index 3d7dcec6f8..8b893af6d8 100644 --- a/GL/mesa/X/xf86glxint.h +++ b/GL/mesa/X/xf86glxint.h @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XF86GLXINT_H_ #define _XF86GLXINT_H_ diff --git a/GL/windows/glwindows.h b/GL/windows/glwindows.h index 0e269a119a..74e81f24fb 100644 --- a/GL/windows/glwindows.h +++ b/GL/windows/glwindows.h @@ -1,3 +1,7 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/GL/windows/glwrap.c b/GL/windows/glwrap.c index 6466757653..730b74ed16 100755 --- a/GL/windows/glwrap.c +++ b/GL/windows/glwrap.c @@ -5,6 +5,10 @@ * Authors: Alexander Gottwald */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/GL/windows/indirect.c b/GL/windows/indirect.c index 4c46ec960e..0c7457aa0d 100755 --- a/GL/windows/indirect.c +++ b/GL/windows/indirect.c @@ -42,6 +42,10 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "glwindows.h" #include #include diff --git a/XTrap/xtrapddmi.c b/XTrap/xtrapddmi.c index 2407059890..2dba356b7c 100644 --- a/XTrap/xtrapddmi.c +++ b/XTrap/xtrapddmi.c @@ -38,6 +38,10 @@ SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXTMODULE #include #include diff --git a/XTrap/xtrapdi.c b/XTrap/xtrapdi.c index 8019addeac..1435dcd80d 100644 --- a/XTrap/xtrapdi.c +++ b/XTrap/xtrapdi.c @@ -51,6 +51,10 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXTMODULE #include #include diff --git a/XTrap/xtrapdiswp.c b/XTrap/xtrapdiswp.c index 5f87094807..77aa0f1a30 100644 --- a/XTrap/xtrapdiswp.c +++ b/XTrap/xtrapdiswp.c @@ -45,6 +45,10 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/XTrap/xtrapditbl.c b/XTrap/xtrapditbl.c index 1e2a149605..ae15860286 100644 --- a/XTrap/xtrapditbl.c +++ b/XTrap/xtrapditbl.c @@ -35,6 +35,10 @@ SOFTWARE. /*-----------------* * Include Files * *-----------------*/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/Xext/EVI.c b/Xext/EVI.c index f4f0eea1f2..b59180685d 100644 --- a/Xext/EVI.c +++ b/Xext/EVI.c @@ -23,6 +23,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/Xext/EVI.c,v 3.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "dixstruct.h" diff --git a/Xext/EVIstruct.h b/Xext/EVIstruct.h index db5655f97d..857e7565a6 100644 --- a/Xext/EVIstruct.h +++ b/Xext/EVIstruct.h @@ -23,6 +23,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/Xext/EVIstruct.h,v 3.5 2003/07/16 01:38:28 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EVI_STRUCT_H #define EVI_STRUCT_H diff --git a/Xext/appgroup.c b/Xext/appgroup.c index b8fb4420a3..bd2d2f8d9c 100644 --- a/Xext/appgroup.c +++ b/Xext/appgroup.c @@ -28,6 +28,10 @@ from The Open Group. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/bigreq.c b/Xext/bigreq.c index 65b25a9099..8b08ba5dc2 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -29,6 +29,10 @@ from The Open Group. /* $XFree86: xc/programs/Xserver/Xext/bigreq.c,v 3.8 2003/10/28 23:08:43 tsi Exp $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/cup.c b/Xext/cup.c index 55b2930c11..1ce2885b71 100644 --- a/Xext/cup.c +++ b/Xext/cup.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/dpms.c b/Xext/dpms.c index 093410336f..5739da6a23 100644 --- a/Xext/dpms.c +++ b/Xext/dpms.c @@ -35,6 +35,10 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/Xext/dpms.c,v 3.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/dpmsproc.h b/Xext/dpmsproc.h index 36ad391dad..ae1e6e25a2 100644 --- a/Xext/dpmsproc.h +++ b/Xext/dpmsproc.h @@ -2,6 +2,10 @@ /* Prototypes for functions that the DDX must provide */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DPMSPROC_H_ #define _DPMSPROC_H_ diff --git a/Xext/dpmsstubs.c b/Xext/dpmsstubs.c index 24086084ac..128c57bb09 100644 --- a/Xext/dpmsstubs.c +++ b/Xext/dpmsstubs.c @@ -30,6 +30,10 @@ Equipment Corporation. typedef int Bool; +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "dpmsproc.h" #define FALSE 0 diff --git a/Xext/fontcache.c b/Xext/fontcache.c index b49a0d4176..57f7889544 100644 --- a/Xext/fontcache.c +++ b/Xext/fontcache.c @@ -33,6 +33,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/mbuf.c b/Xext/mbuf.c index be520b0f85..51cc91a272 100644 --- a/Xext/mbuf.c +++ b/Xext/mbuf.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: mbuf.c,v 1.4 2001/02/09 02:04:32 xorgcvs Exp $ */ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "window.h" diff --git a/Xext/mbufbf.c b/Xext/mbufbf.c index 10550dc374..7af856b983 100644 --- a/Xext/mbufbf.c +++ b/Xext/mbufbf.c @@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/mbufpx.c b/Xext/mbufpx.c index 1a96d00971..297614e43b 100644 --- a/Xext/mbufpx.c +++ b/Xext/mbufpx.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: mbufpx.c,v 1.4 2001/02/09 02:04:32 xorgcvs Exp $ */ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/mitmisc.c b/Xext/mitmisc.c index e32642b281..18c58ab8fa 100644 --- a/Xext/mitmisc.c +++ b/Xext/mitmisc.c @@ -30,6 +30,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: mitmisc.c,v 1.4 2001/02/09 02:04:32 xorgcvs Exp $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index f2a8a7cd5d..1fa8756e2d 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -26,6 +26,10 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/Xext/panoramiX.c,v 3.37tsi Exp $ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/panoramiX.h b/Xext/panoramiX.h index c4faa5a9a8..6cbb94dd38 100644 --- a/Xext/panoramiX.h +++ b/Xext/panoramiX.h @@ -36,6 +36,10 @@ Equipment Corporation. * PanoramiX definitions */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PANORAMIX_H_ #define _PANORAMIX_H_ diff --git a/Xext/panoramiXSwap.c b/Xext/panoramiXSwap.c index d86b744cd0..51b816695a 100644 --- a/Xext/panoramiXSwap.c +++ b/Xext/panoramiXSwap.c @@ -25,6 +25,10 @@ Equipment Corporation. ******************************************************************/ /* $XFree86: xc/programs/Xserver/Xext/panoramiXSwap.c,v 3.9 2003/07/16 01:38:29 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 5a30608396..0b6183c42b 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -28,6 +28,10 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/Xext/panoramiXprocs.c,v 3.36tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_REPLIES diff --git a/Xext/panoramiXsrv.h b/Xext/panoramiXsrv.h index 92800062e3..dc3b3d8057 100644 --- a/Xext/panoramiXsrv.h +++ b/Xext/panoramiXsrv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/Xext/panoramiXsrv.h,v 1.8 2001/08/01 00:44:44 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PANORAMIXSRV_H_ #define _PANORAMIXSRV_H_ diff --git a/Xext/sampleEVI.c b/Xext/sampleEVI.c index a3d137619d..67caa56139 100644 --- a/Xext/sampleEVI.c +++ b/Xext/sampleEVI.c @@ -23,6 +23,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "dixstruct.h" diff --git a/Xext/saver.c b/Xext/saver.c index 0597bea9f8..53ce7e4bc2 100644 --- a/Xext/saver.c +++ b/Xext/saver.c @@ -32,6 +32,10 @@ in this Software without prior written authorization from the X Consortium. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/security.c b/Xext/security.c index 75ca167651..767055cc58 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/Xext/security.c,v 1.16tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "dixstruct.h" #include "extnsionst.h" #include "windowstr.h" diff --git a/Xext/shape.c b/Xext/shape.c index bf07eb1809..81861186ad 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: shape.c,v 1.4 2001/02/09 02:04:32 xorgcvs Exp $ */ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/shm.c b/Xext/shm.c index de791c8bd9..751d51fbe2 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from The Open Group. #define SHM +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #ifndef Lynx #include diff --git a/Xext/sleepuntil.c b/Xext/sleepuntil.c index ce925adc58..b30f7fd8ec 100644 --- a/Xext/sleepuntil.c +++ b/Xext/sleepuntil.c @@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. /* dixsleep.c - implement millisecond timeouts for X clients */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "sleepuntil.h" #include #include diff --git a/Xext/sleepuntil.h b/Xext/sleepuntil.h index f8fcc6cb90..0b99148a4b 100644 --- a/Xext/sleepuntil.h +++ b/Xext/sleepuntil.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _SLEEPUNTIL_H_ #define _SLEEPUNTIL_H_ 1 diff --git a/Xext/sync.c b/Xext/sync.c index 110ce206a8..0d69c02bdf 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -54,6 +54,10 @@ PERFORMANCE OF THIS SOFTWARE. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index dbd9496d71..ee3af3f72d 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -30,6 +30,10 @@ from The Open Group. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xevie.c b/Xext/xevie.c index d33f027a9f..300f3c9f46 100644 --- a/Xext/xevie.c +++ b/Xext/xevie.c @@ -34,6 +34,10 @@ of the copyright holder. #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c index 7614834414..145596782e 100644 --- a/Xext/xf86bigfont.c +++ b/Xext/xf86bigfont.c @@ -35,6 +35,10 @@ * XLoadQueryFont). */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #ifdef HAS_SHM #if defined(linux) && (!defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 2) diff --git a/Xext/xprint.c b/Xext/xprint.c index 965374fe11..86e74bee3b 100644 --- a/Xext/xprint.c +++ b/Xext/xprint.c @@ -67,6 +67,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xext/xprint.c,v 1.14tsi Exp $ */ #define _XP_PRINT_SERVER_ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS diff --git a/Xext/xres.c b/Xext/xres.c index 7a8fa50b48..1d3105a285 100644 --- a/Xext/xres.c +++ b/Xext/xres.c @@ -6,6 +6,10 @@ #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xtest.c b/Xext/xtest.c index e9876b2b85..965f0845b3 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -29,6 +29,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/Xext/xtest.c,v 3.10 2003/10/28 23:08:44 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #include diff --git a/Xext/xtest1dd.c b/Xext/xtest1dd.c index 1681d6c501..c232715ba1 100644 --- a/Xext/xtest1dd.c +++ b/Xext/xtest1dd.c @@ -61,6 +61,10 @@ University of California. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xtest1dd.h b/Xext/xtest1dd.h index 60663dfb98..3130c70753 100644 --- a/Xext/xtest1dd.h +++ b/Xext/xtest1dd.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XTEST1DD_H #define XTEST1DD_H 1 diff --git a/Xext/xtest1di.c b/Xext/xtest1di.c index cb8c86aae0..bc35d05902 100644 --- a/Xext/xtest1di.c +++ b/Xext/xtest1di.c @@ -62,6 +62,10 @@ University of California. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c index bf18e45877..709b75ca78 100644 --- a/Xext/xvdisp.c +++ b/Xext/xvdisp.c @@ -48,6 +48,10 @@ SOFTWARE. ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xvdix.h b/Xext/xvdix.h index 99d9184068..c2dfc7c829 100644 --- a/Xext/xvdix.h +++ b/Xext/xvdix.h @@ -23,6 +23,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/Xext/xvdix.h,v 1.7 2001/05/07 21:37:51 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XVDIX_H #define XVDIX_H /* diff --git a/Xext/xvmain.c b/Xext/xvmain.c index e6c644407a..36046f89bc 100644 --- a/Xext/xvmain.c +++ b/Xext/xvmain.c @@ -75,6 +75,10 @@ SOFTWARE. ** */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xvmc.c b/Xext/xvmc.c index 05424fe02a..65211faa06 100644 --- a/Xext/xvmc.c +++ b/Xext/xvmc.c @@ -2,6 +2,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xext/xvmcext.h b/Xext/xvmcext.h index c7eba30ada..77af41d41b 100644 --- a/Xext/xvmcext.h +++ b/Xext/xvmcext.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/Xext/xvmcext.h,v 1.1 2001/04/07 11:04:21 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XVMC_H #define _XVMC_H #include diff --git a/Xi/allowev.c b/Xi/allowev.c index 3d0c6b7ed3..c1df7eb739 100644 --- a/Xi/allowev.c +++ b/Xi/allowev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/allowev.h b/Xi/allowev.h index 40c9a30c86..2d1132d3ab 100644 --- a/Xi/allowev.h +++ b/Xi/allowev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef ALLOWEV_H #define ALLOWEV_H 1 diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c index 6525546a15..63a3c9c693 100644 --- a/Xi/chgdctl.c +++ b/Xi/chgdctl.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgdctl.h b/Xi/chgdctl.h index a7e1c3b241..a6a530f37e 100644 --- a/Xi/chgdctl.h +++ b/Xi/chgdctl.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGDCTL_H #define CHGDCTL_H 1 diff --git a/Xi/chgfctl.c b/Xi/chgfctl.c index a7228c02d2..c502db325e 100644 --- a/Xi/chgfctl.c +++ b/Xi/chgfctl.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgfctl.h b/Xi/chgfctl.h index cadf27fb4a..94dab28141 100644 --- a/Xi/chgfctl.h +++ b/Xi/chgfctl.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGFCTL_H #define CHGFCTL_H 1 diff --git a/Xi/chgkbd.c b/Xi/chgkbd.c index 1e6c78060b..a8a6024d80 100644 --- a/Xi/chgkbd.c +++ b/Xi/chgkbd.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgkbd.h b/Xi/chgkbd.h index a878f13937..ddb17e3c41 100644 --- a/Xi/chgkbd.h +++ b/Xi/chgkbd.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGKBD_H #define CHGKBD_H 1 diff --git a/Xi/chgkmap.c b/Xi/chgkmap.c index 82d4743e95..6b2a15aa2b 100644 --- a/Xi/chgkmap.c +++ b/Xi/chgkmap.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgkmap.h b/Xi/chgkmap.h index 1992852631..5e65a5b36a 100644 --- a/Xi/chgkmap.h +++ b/Xi/chgkmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGKMAP_H #define CHGKMAP_H 1 diff --git a/Xi/chgprop.c b/Xi/chgprop.c index 7f2f2cc00c..20c654e2f7 100644 --- a/Xi/chgprop.c +++ b/Xi/chgprop.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgprop.h b/Xi/chgprop.h index e9cb56a479..7395bc25c5 100644 --- a/Xi/chgprop.h +++ b/Xi/chgprop.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGPROP_H #define CHGPROP_H 1 diff --git a/Xi/chgptr.c b/Xi/chgptr.c index 3fca660197..bf2abd6b61 100644 --- a/Xi/chgptr.c +++ b/Xi/chgptr.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/chgptr.h b/Xi/chgptr.h index adf50b0bde..5b85da13f8 100644 --- a/Xi/chgptr.h +++ b/Xi/chgptr.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CHGPTR_H #define CHGPTR_H 1 diff --git a/Xi/closedev.c b/Xi/closedev.c index 49e2922357..8a57aeeee6 100644 --- a/Xi/closedev.c +++ b/Xi/closedev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/closedev.h b/Xi/closedev.h index 882d81f145..e4869c96c8 100644 --- a/Xi/closedev.h +++ b/Xi/closedev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CLOSEDEV_H #define CLOSEDEV_H 1 diff --git a/Xi/devbell.c b/Xi/devbell.c index 7c3b68eff7..bdc941c1c2 100644 --- a/Xi/devbell.c +++ b/Xi/devbell.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/devbell.h b/Xi/devbell.h index 8ceafa629b..17cac6f7f3 100644 --- a/Xi/devbell.h +++ b/Xi/devbell.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DEVBELL_H #define DEVBELL_H 1 diff --git a/Xi/exevents.c b/Xi/exevents.c index 9c1ea01d90..99fbb129a2 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -55,6 +55,10 @@ SOFTWARE. */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xi/exglobals.h b/Xi/exglobals.h index 6f397a2d04..cba6310f4f 100644 --- a/Xi/exglobals.h +++ b/Xi/exglobals.h @@ -29,6 +29,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * Globals referenced elsewhere in the server. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXGLOBALS_H #define EXGLOBALS_H 1 diff --git a/Xi/extinit.c b/Xi/extinit.c index ae110438ae..0b27b5cf74 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -57,6 +57,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "inputstr.h" diff --git a/Xi/getbmap.c b/Xi/getbmap.c index cdfa05bb89..a944d4cc81 100644 --- a/Xi/getbmap.c +++ b/Xi/getbmap.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getbmap.h b/Xi/getbmap.h index f1e300191b..01cc3780ae 100644 --- a/Xi/getbmap.h +++ b/Xi/getbmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETBMAP_H #define GETBMAP_H 1 diff --git a/Xi/getdctl.c b/Xi/getdctl.c index 3a903b72e4..527273ac46 100644 --- a/Xi/getdctl.c +++ b/Xi/getdctl.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getdctl.h b/Xi/getdctl.h index 5092bb4c68..168620eca4 100644 --- a/Xi/getdctl.h +++ b/Xi/getdctl.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETDCTL_H #define GETDCTL_H 1 diff --git a/Xi/getfctl.c b/Xi/getfctl.c index 2f41bcf70b..5652ad3034 100644 --- a/Xi/getfctl.c +++ b/Xi/getfctl.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getfctl.h b/Xi/getfctl.h index fe799244af..97805d9af9 100644 --- a/Xi/getfctl.h +++ b/Xi/getfctl.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETFCTL_H #define GETFCTL_H 1 diff --git a/Xi/getfocus.c b/Xi/getfocus.c index d72cc70473..3c1597cc95 100644 --- a/Xi/getfocus.c +++ b/Xi/getfocus.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "windowstr.h" /* focus struct */ diff --git a/Xi/getfocus.h b/Xi/getfocus.h index 0ae1397145..5d6438e1d1 100644 --- a/Xi/getfocus.h +++ b/Xi/getfocus.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETFOCUS_H #define GETFOCUS_H 1 diff --git a/Xi/getkmap.c b/Xi/getkmap.c index 32436a4394..4e67d9c71b 100644 --- a/Xi/getkmap.c +++ b/Xi/getkmap.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getkmap.h b/Xi/getkmap.h index b0dfb9f8e3..5c2e3b189f 100644 --- a/Xi/getkmap.h +++ b/Xi/getkmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETKMAP_H #define GETKMAP_H 1 diff --git a/Xi/getmmap.c b/Xi/getmmap.c index c442068990..6b2e38d0bd 100644 --- a/Xi/getmmap.c +++ b/Xi/getmmap.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getmmap.h b/Xi/getmmap.h index deeb28fdd0..88e4af427a 100644 --- a/Xi/getmmap.h +++ b/Xi/getmmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETMMAP_H #define GETMMAP_H 1 diff --git a/Xi/getprop.c b/Xi/getprop.c index 45b03f6a8e..2b4de1f3e6 100644 --- a/Xi/getprop.c +++ b/Xi/getprop.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getprop.h b/Xi/getprop.h index b75dc515b7..a8dcc3ab24 100644 --- a/Xi/getprop.h +++ b/Xi/getprop.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETPROP_H #define GETPROP_H 1 diff --git a/Xi/getselev.c b/Xi/getselev.c index b0408d8eb9..c2ec2b9d59 100644 --- a/Xi/getselev.c +++ b/Xi/getselev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include diff --git a/Xi/getselev.h b/Xi/getselev.h index 0929de6fd8..bb0e71a112 100644 --- a/Xi/getselev.h +++ b/Xi/getselev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETSELEV_H #define GETSELEV_H 1 diff --git a/Xi/getvers.c b/Xi/getvers.c index 46c2c2567b..1ad0ce7857 100644 --- a/Xi/getvers.c +++ b/Xi/getvers.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/getvers.h b/Xi/getvers.h index c93359f997..93b7bfbec7 100644 --- a/Xi/getvers.h +++ b/Xi/getvers.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GETVERS_H #define GETVERS_H 1 diff --git a/Xi/grabdev.c b/Xi/grabdev.c index ea265ea811..3b124a0f43 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -56,6 +56,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/grabdev.h b/Xi/grabdev.h index 8a2e8fb398..d149da5d96 100644 --- a/Xi/grabdev.h +++ b/Xi/grabdev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GRABDEV_H #define GRABDEV_H 1 diff --git a/Xi/grabdevb.c b/Xi/grabdevb.c index cc6ffc6c81..84f0610866 100644 --- a/Xi/grabdevb.c +++ b/Xi/grabdevb.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/grabdevb.h b/Xi/grabdevb.h index c1a02de589..50929a32b6 100644 --- a/Xi/grabdevb.h +++ b/Xi/grabdevb.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GRABDEVB_H #define GRABDEVB_H 1 diff --git a/Xi/grabdevk.c b/Xi/grabdevk.c index 14ecb61bbe..17a9a9cf6c 100644 --- a/Xi/grabdevk.c +++ b/Xi/grabdevk.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/grabdevk.h b/Xi/grabdevk.h index cf25e861fa..2304619371 100644 --- a/Xi/grabdevk.h +++ b/Xi/grabdevk.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GRABDEVK_H #define GRABDEVK_H 1 diff --git a/Xi/gtmotion.c b/Xi/gtmotion.c index f020965866..02b1fee32f 100644 --- a/Xi/gtmotion.c +++ b/Xi/gtmotion.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/gtmotion.h b/Xi/gtmotion.h index a4739db387..205b19958d 100644 --- a/Xi/gtmotion.h +++ b/Xi/gtmotion.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GTMOTION_H #define GTMOTION_H 1 diff --git a/Xi/listdev.c b/Xi/listdev.c index 6d00f46ef9..b7eed86b7c 100644 --- a/Xi/listdev.c +++ b/Xi/listdev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/listdev.h b/Xi/listdev.h index 04518e528e..125ea35809 100644 --- a/Xi/listdev.h +++ b/Xi/listdev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef LISTDEV_H #define LISTDEV_H 1 diff --git a/Xi/opendev.c b/Xi/opendev.c index 4f9c2b63af..45bea7ae52 100644 --- a/Xi/opendev.c +++ b/Xi/opendev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/opendev.h b/Xi/opendev.h index b5608792df..94ed6f6bda 100644 --- a/Xi/opendev.h +++ b/Xi/opendev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef OPENDEV_H #define OPENDEV_H 1 diff --git a/Xi/queryst.c b/Xi/queryst.c index 4cc56dd4d9..34b140c8ec 100644 --- a/Xi/queryst.c +++ b/Xi/queryst.c @@ -36,6 +36,10 @@ from The Open Group. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/queryst.h b/Xi/queryst.h index 051192228f..bf651b4bd9 100644 --- a/Xi/queryst.h +++ b/Xi/queryst.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef QUERYST_H #define QUERYST_H 1 diff --git a/Xi/selectev.c b/Xi/selectev.c index bf92cfa583..c8a55f5b07 100644 --- a/Xi/selectev.c +++ b/Xi/selectev.c @@ -56,6 +56,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/selectev.h b/Xi/selectev.h index e2fa176238..82bdbc6c0c 100644 --- a/Xi/selectev.h +++ b/Xi/selectev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SELECTEV_H #define SELECTEV_H 1 diff --git a/Xi/sendexev.c b/Xi/sendexev.c index 5f87298a2c..c005aecab8 100644 --- a/Xi/sendexev.c +++ b/Xi/sendexev.c @@ -56,6 +56,10 @@ SOFTWARE. #define EXTENSION_EVENT_BASE 64 #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/sendexev.h b/Xi/sendexev.h index 0f935addc2..e5bc185a8c 100644 --- a/Xi/sendexev.h +++ b/Xi/sendexev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SENDEXEV_H #define SENDEXEV_H 1 diff --git a/Xi/setbmap.c b/Xi/setbmap.c index 7282a02e24..37db5110d3 100644 --- a/Xi/setbmap.c +++ b/Xi/setbmap.c @@ -58,6 +58,10 @@ SOFTWARE. #define IsOn(ptr, bit) \ (((BYTE *) (ptr))[(bit)>>3] & (1 << ((bit) & 7))) +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/setbmap.h b/Xi/setbmap.h index 36584767ea..dab5fcbdec 100644 --- a/Xi/setbmap.h +++ b/Xi/setbmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SETBMAP_H #define SETBMAP_H 1 diff --git a/Xi/setdval.c b/Xi/setdval.c index 4bfc541c7d..9b5b1e20dc 100644 --- a/Xi/setdval.c +++ b/Xi/setdval.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/setdval.h b/Xi/setdval.h index 65ccb45041..d475c7cc69 100644 --- a/Xi/setdval.h +++ b/Xi/setdval.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SETDVAL_H #define SETDVAL_H 1 diff --git a/Xi/setfocus.c b/Xi/setfocus.c index c68142e69c..a1dd09d718 100644 --- a/Xi/setfocus.c +++ b/Xi/setfocus.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "windowstr.h" /* focus struct */ diff --git a/Xi/setfocus.h b/Xi/setfocus.h index db2dc1b61a..62ff181d24 100644 --- a/Xi/setfocus.h +++ b/Xi/setfocus.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SETFOCUS_H #define SETFOCUS_H 1 diff --git a/Xi/setmmap.c b/Xi/setmmap.c index 6ed18e01a2..3fa2c7e7e2 100644 --- a/Xi/setmmap.c +++ b/Xi/setmmap.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS /* for inputstr.h */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/setmmap.h b/Xi/setmmap.h index fd27104887..c859095f81 100644 --- a/Xi/setmmap.h +++ b/Xi/setmmap.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SETMMAP_H #define SETMMAP_H 1 diff --git a/Xi/setmode.c b/Xi/setmode.c index 37bc2b357b..f95ef55148 100644 --- a/Xi/setmode.c +++ b/Xi/setmode.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/setmode.h b/Xi/setmode.h index e05fb76339..d570af7bd8 100644 --- a/Xi/setmode.h +++ b/Xi/setmode.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SETMODE_H #define SETMODE_H 1 diff --git a/Xi/stubs.c b/Xi/stubs.c index 8f10bd02cd..7ad6d903ea 100644 --- a/Xi/stubs.c +++ b/Xi/stubs.c @@ -58,6 +58,10 @@ SOFTWARE. */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "inputstr.h" diff --git a/Xi/ungrdev.c b/Xi/ungrdev.c index 5f6ecf9e2d..8de4cd225a 100644 --- a/Xi/ungrdev.c +++ b/Xi/ungrdev.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/ungrdev.h b/Xi/ungrdev.h index 96d2662e12..e8e866bc92 100644 --- a/Xi/ungrdev.h +++ b/Xi/ungrdev.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef UNGRDEV_H #define UNGRDEV_H 1 diff --git a/Xi/ungrdevb.c b/Xi/ungrdevb.c index 2b2288f1e4..8927a5c6ef 100644 --- a/Xi/ungrdevb.c +++ b/Xi/ungrdevb.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/ungrdevb.h b/Xi/ungrdevb.h index 2f7899c31c..238e56954e 100644 --- a/Xi/ungrdevb.h +++ b/Xi/ungrdevb.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef UNGRDEVB_H #define UNGRDEVB_H 1 diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c index 621ba4ddff..38cfa1b713 100644 --- a/Xi/ungrdevk.c +++ b/Xi/ungrdevk.c @@ -55,6 +55,10 @@ SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for inputstr.h */ #include /* Request macro */ #include "inputstr.h" /* DeviceIntPtr */ diff --git a/Xi/ungrdevk.h b/Xi/ungrdevk.h index 275ec446de..ba3455882a 100644 --- a/Xi/ungrdevk.h +++ b/Xi/ungrdevk.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef UNGRDEVK_H #define UNGRDEVK_H 1 diff --git a/Xprint/AttrValid.c b/Xprint/AttrValid.c index 86bfd14e58..b2b0182169 100644 --- a/Xprint/AttrValid.c +++ b/Xprint/AttrValid.c @@ -30,6 +30,10 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "attributes.h" diff --git a/Xprint/AttrValid.h b/Xprint/AttrValid.h index 8e27ae01a4..440bea06fd 100644 --- a/Xprint/AttrValid.h +++ b/Xprint/AttrValid.h @@ -31,6 +31,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _Xp_AttrValid_h #define _Xp_AttrValid_h diff --git a/Xprint/DiPrint.h b/Xprint/DiPrint.h index c1a8dcb450..a264779716 100644 --- a/Xprint/DiPrint.h +++ b/Xprint/DiPrint.h @@ -38,6 +38,10 @@ copyright holders. * request will allow us to build it with the description in the locale of * the requesting client. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XpDiPrint_H_ #define _XpDiPrint_H_ 1 diff --git a/Xprint/Init.c b/Xprint/Init.c index 44520507c7..194e434f3d 100644 --- a/Xprint/Init.c +++ b/Xprint/Init.c @@ -52,6 +52,10 @@ copyright holders. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/Oid.c b/Xprint/Oid.c index 575f50582f..7f0acaf0b1 100644 --- a/Xprint/Oid.c +++ b/Xprint/Oid.c @@ -31,6 +31,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "attributes.h" /* diff --git a/Xprint/Oid.h b/Xprint/Oid.h index 40bf79d074..820cd7563d 100644 --- a/Xprint/Oid.h +++ b/Xprint/Oid.h @@ -31,6 +31,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _Xp_Oid_h #define _Xp_Oid_h diff --git a/Xprint/Util.c b/Xprint/Util.c index 595fb6ccfd..c1696becf0 100644 --- a/Xprint/Util.c +++ b/Xprint/Util.c @@ -33,6 +33,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/Util.c,v 1.12 2001/08/01 00:44:45 tsi Exp $ */ /* To get the tempnam() prototype in */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if defined(linux) && defined(__STRICT_ANSI__) #undef __STRICT_ANSI__ #endif diff --git a/Xprint/ValTree.c b/Xprint/ValTree.c index 4b5aba2a8d..6fa631617f 100644 --- a/Xprint/ValTree.c +++ b/Xprint/ValTree.c @@ -32,6 +32,10 @@ copyright holders. */ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "validate.h" diff --git a/Xprint/attributes.c b/Xprint/attributes.c index b015d648dc..4e6d63f608 100644 --- a/Xprint/attributes.c +++ b/Xprint/attributes.c @@ -45,6 +45,10 @@ copyright holders. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/attributes.h b/Xprint/attributes.h index 52f0fa484b..40df4fd0bd 100644 --- a/Xprint/attributes.h +++ b/Xprint/attributes.h @@ -31,6 +31,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _Xp_attributes_h #define _Xp_attributes_h 1 diff --git a/Xprint/ddxInit.c b/Xprint/ddxInit.c index 2bbdde3ae3..be16a37998 100644 --- a/Xprint/ddxInit.c +++ b/Xprint/ddxInit.c @@ -31,6 +31,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/mediaSizes.c b/Xprint/mediaSizes.c index 8bbd8b381c..aedf32f1f4 100644 --- a/Xprint/mediaSizes.c +++ b/Xprint/mediaSizes.c @@ -48,6 +48,10 @@ copyright holders. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include @@ -60,7 +64,7 @@ copyright holders. #include "screenint.h" #include #include "scrnintstr.h" -#include "fontstruct.h" +#include #include "DiPrint.h" #include "attributes.h" diff --git a/Xprint/pcl/Pcl.h b/Xprint/pcl/Pcl.h index 92621d232f..59656be1af 100644 --- a/Xprint/pcl/Pcl.h +++ b/Xprint/pcl/Pcl.h @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/Pcl.h,v 1.12 2001/12/21 21:02:05 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PCL_H_ #define _PCL_H_ @@ -60,7 +64,7 @@ copyright holders. #include #include "regionstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" diff --git a/Xprint/pcl/PclArc.c b/Xprint/pcl/PclArc.c index af32eb6199..d675e16994 100644 --- a/Xprint/pcl/PclArc.c +++ b/Xprint/pcl/PclArc.c @@ -47,6 +47,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclArc.c,v 1.4 1999/12/13 02:12:53 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclArea.c b/Xprint/pcl/PclArea.c index 00e6aff047..cfed7c8668 100644 --- a/Xprint/pcl/PclArea.c +++ b/Xprint/pcl/PclArea.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclArea.c,v 1.8 2001/01/17 22:36:30 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclAttVal.c b/Xprint/pcl/PclAttVal.c index 88fcf23b5a..adbd197fdf 100644 --- a/Xprint/pcl/PclAttVal.c +++ b/Xprint/pcl/PclAttVal.c @@ -33,6 +33,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "AttrValid.h" diff --git a/Xprint/pcl/PclAttr.c b/Xprint/pcl/PclAttr.c index 2612a821fd..3cde053f1c 100644 --- a/Xprint/pcl/PclAttr.c +++ b/Xprint/pcl/PclAttr.c @@ -45,6 +45,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "attributes.h" diff --git a/Xprint/pcl/PclColor.c b/Xprint/pcl/PclColor.c index d5d2e022bc..72c7e3f999 100644 --- a/Xprint/pcl/PclColor.c +++ b/Xprint/pcl/PclColor.c @@ -47,6 +47,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclColor.c,v 1.9tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclCursor.c b/Xprint/pcl/PclCursor.c index e7288c9eca..f50c355e94 100644 --- a/Xprint/pcl/PclCursor.c +++ b/Xprint/pcl/PclCursor.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclCursor.c,v 1.3 1999/12/16 02:26:27 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "Pcl.h" diff --git a/Xprint/pcl/PclDef.h b/Xprint/pcl/PclDef.h index 2638748b20..275bd63ec0 100644 --- a/Xprint/pcl/PclDef.h +++ b/Xprint/pcl/PclDef.h @@ -45,6 +45,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PCLDEF_H_ #define _PCLDEF_H_ diff --git a/Xprint/pcl/PclFonts.c b/Xprint/pcl/PclFonts.c index d5eff48c7b..591435faa3 100644 --- a/Xprint/pcl/PclFonts.c +++ b/Xprint/pcl/PclFonts.c @@ -46,8 +46,12 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "regionstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" diff --git a/Xprint/pcl/PclGC.c b/Xprint/pcl/PclGC.c index 67331a454e..83ebb47e18 100644 --- a/Xprint/pcl/PclGC.c +++ b/Xprint/pcl/PclGC.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclGC.c,v 1.9 2001/01/19 18:34:28 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "Pcl.h" diff --git a/Xprint/pcl/PclInit.c b/Xprint/pcl/PclInit.c index 3d0a731acd..8bedee7c36 100644 --- a/Xprint/pcl/PclInit.c +++ b/Xprint/pcl/PclInit.c @@ -78,6 +78,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclInit.c,v 1.11 2001/12/21 21:02:05 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclLine.c b/Xprint/pcl/PclLine.c index aa72e8ff05..f2b564df82 100644 --- a/Xprint/pcl/PclLine.c +++ b/Xprint/pcl/PclLine.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclLine.c,v 1.6 1999/12/13 02:12:55 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/pcl/PclMisc.c b/Xprint/pcl/PclMisc.c index 9405a4e784..3a958e7838 100644 --- a/Xprint/pcl/PclMisc.c +++ b/Xprint/pcl/PclMisc.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclMisc.c,v 1.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclPixel.c b/Xprint/pcl/PclPixel.c index 372a54e9f2..bfad618ed0 100644 --- a/Xprint/pcl/PclPixel.c +++ b/Xprint/pcl/PclPixel.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPixel.c,v 1.6tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/Xprint/pcl/PclPixmap.c b/Xprint/pcl/PclPixmap.c index 178289bc19..9449dfdd6c 100644 --- a/Xprint/pcl/PclPixmap.c +++ b/Xprint/pcl/PclPixmap.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPixmap.c,v 1.3 1999/12/16 02:26:27 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "cfb.h" #include "cfb32.h" diff --git a/Xprint/pcl/PclPolygon.c b/Xprint/pcl/PclPolygon.c index ddfd9ef8aa..41ba4b1c0e 100644 --- a/Xprint/pcl/PclPolygon.c +++ b/Xprint/pcl/PclPolygon.c @@ -47,6 +47,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPolygon.c,v 1.6 1999/12/13 02:12:56 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/pcl/PclPrint.c b/Xprint/pcl/PclPrint.c index 6630862668..7017102535 100644 --- a/Xprint/pcl/PclPrint.c +++ b/Xprint/pcl/PclPrint.c @@ -45,6 +45,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPrint.c,v 1.7tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/PclSFonts.c b/Xprint/pcl/PclSFonts.c index 121ed00773..287c5c14fb 100644 --- a/Xprint/pcl/PclSFonts.c +++ b/Xprint/pcl/PclSFonts.c @@ -48,6 +48,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclSFonts.c,v 1.7tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "Pcl.h" diff --git a/Xprint/pcl/PclSFonts.h b/Xprint/pcl/PclSFonts.h index 5992c12afe..fdd62f6518 100644 --- a/Xprint/pcl/PclSFonts.h +++ b/Xprint/pcl/PclSFonts.h @@ -1,4 +1,8 @@ /* $Xorg: PclSFonts.h,v 1.3 2000/08/17 19:48:08 cpqbld Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PCLFONTS_H #define _PCLFONTS_H diff --git a/Xprint/pcl/PclSpans.c b/Xprint/pcl/PclSpans.c index 92261c9770..51c0137fcb 100644 --- a/Xprint/pcl/PclSpans.c +++ b/Xprint/pcl/PclSpans.c @@ -47,6 +47,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclSpans.c,v 1.5 1999/12/13 02:12:57 robin Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Pcl.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/pcl/PclText.c b/Xprint/pcl/PclText.c index a7f37be565..be794772cb 100644 --- a/Xprint/pcl/PclText.c +++ b/Xprint/pcl/PclText.c @@ -46,6 +46,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclText.c,v 1.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef DO_TWO_BYTE_PCL #include "iconv.h" #endif /* DO_TWO_BYTE_PCL */ diff --git a/Xprint/pcl/PclWindow.c b/Xprint/pcl/PclWindow.c index 42a6f62341..cac5826e93 100644 --- a/Xprint/pcl/PclWindow.c +++ b/Xprint/pcl/PclWindow.c @@ -47,6 +47,10 @@ copyright holders. /* $XFree86: xc/programs/Xserver/Xprint/pcl/PclWindow.c,v 1.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/pcl/Pclmap.h b/Xprint/pcl/Pclmap.h index 1a68faf1ec..5224fd9e3a 100644 --- a/Xprint/pcl/Pclmap.h +++ b/Xprint/pcl/Pclmap.h @@ -32,6 +32,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/pcl/Pclmap.h,v 1.5 2001/07/25 15:05:00 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PCLMAP_H_ #define _PCLMAP_H_ diff --git a/Xprint/ps/Ps.h b/Xprint/ps/Ps.h index 8c47fc9e5f..32a2b53467 100644 --- a/Xprint/ps/Ps.h +++ b/Xprint/ps/Ps.h @@ -75,6 +75,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PS_H_ #define _PS_H_ @@ -94,7 +98,7 @@ in this Software without prior written authorization from The Open Group. #include #include "regionstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" diff --git a/Xprint/ps/PsArc.c b/Xprint/ps/PsArc.c index 76804bb18f..511971e7a2 100644 --- a/Xprint/ps/PsArc.c +++ b/Xprint/ps/PsArc.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "Ps.h" diff --git a/Xprint/ps/PsArea.c b/Xprint/ps/PsArea.c index 7850da0f83..32a4d5cf42 100644 --- a/Xprint/ps/PsArea.c +++ b/Xprint/ps/PsArea.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/ps/PsAttVal.c b/Xprint/ps/PsAttVal.c index 5ebd0d3b9f..fc23ffef56 100644 --- a/Xprint/ps/PsAttVal.c +++ b/Xprint/ps/PsAttVal.c @@ -33,6 +33,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "AttrValid.h" diff --git a/Xprint/ps/PsAttr.c b/Xprint/ps/PsAttr.c index 8a5bee9e3a..74da5a0e16 100644 --- a/Xprint/ps/PsAttr.c +++ b/Xprint/ps/PsAttr.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "attributes.h" diff --git a/Xprint/ps/PsCache.c b/Xprint/ps/PsCache.c index 8c9f4a926c..e69aa2eb72 100644 --- a/Xprint/ps/PsCache.c +++ b/Xprint/ps/PsCache.c @@ -73,11 +73,15 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" -#include "fntfil.h" -#include "fntfilst.h" +#include +#include #define GET 0 #define RESET 1 diff --git a/Xprint/ps/PsColor.c b/Xprint/ps/PsColor.c index 3586a77b87..91a44f85af 100644 --- a/Xprint/ps/PsColor.c +++ b/Xprint/ps/PsColor.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "mi.h" #include "micmap.h" diff --git a/Xprint/ps/PsDef.h b/Xprint/ps/PsDef.h index ec648c4421..cf45c85162 100644 --- a/Xprint/ps/PsDef.h +++ b/Xprint/ps/PsDef.h @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************* ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PSDEF_H_ #define _PSDEF_H_ diff --git a/Xprint/ps/PsFTFonts.c b/Xprint/ps/PsFTFonts.c index cfdee93d14..2fbff1a1c3 100644 --- a/Xprint/ps/PsFTFonts.c +++ b/Xprint/ps/PsFTFonts.c @@ -21,17 +21,21 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "regionstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" -#include "fontxlfd.h" -#include "fntfil.h" -#include "fntfilst.h" +#include +#include +#include #include "Ps.h" diff --git a/Xprint/ps/PsFonts.c b/Xprint/ps/PsFonts.c index 6d0ba1a614..10c0b1a5b0 100644 --- a/Xprint/ps/PsFonts.c +++ b/Xprint/ps/PsFonts.c @@ -74,13 +74,17 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "regionstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" -#include "fontxlfd.h" -#include "fntfil.h" -#include "fntfilst.h" +#include +#include +#include #include "Ps.h" diff --git a/Xprint/ps/PsGC.c b/Xprint/ps/PsGC.c index c4984d0759..56ff5cdae3 100644 --- a/Xprint/ps/PsGC.c +++ b/Xprint/ps/PsGC.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/Xprint/ps/PsImageUtil.c b/Xprint/ps/PsImageUtil.c index c32cb54bb3..2827865644 100644 --- a/Xprint/ps/PsImageUtil.c +++ b/Xprint/ps/PsImageUtil.c @@ -29,6 +29,10 @@ copyright holders. /* Please do not beat me for this ugly code - most of it has been stolen from * xc/lib/X11/ImUtil.c */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "windowstr.h" #include "servermd.h" diff --git a/Xprint/ps/PsInit.c b/Xprint/ps/PsInit.c index 2abaf90b38..a11a61ae47 100644 --- a/Xprint/ps/PsInit.c +++ b/Xprint/ps/PsInit.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/ps/PsLine.c b/Xprint/ps/PsLine.c index 23e105804c..2524769c87 100644 --- a/Xprint/ps/PsLine.c +++ b/Xprint/ps/PsLine.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/ps/PsMisc.c b/Xprint/ps/PsMisc.c index a4c585f0d6..b8a3ba8543 100644 --- a/Xprint/ps/PsMisc.c +++ b/Xprint/ps/PsMisc.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* for SIGCLD on pre-POSIX systems */ #include #include "Ps.h" diff --git a/Xprint/ps/PsPixel.c b/Xprint/ps/PsPixel.c index c2c360d2ed..2197f0ab97 100644 --- a/Xprint/ps/PsPixel.c +++ b/Xprint/ps/PsPixel.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/Xprint/ps/PsPixmap.c b/Xprint/ps/PsPixmap.c index 25a525b82f..a698b375e2 100644 --- a/Xprint/ps/PsPixmap.c +++ b/Xprint/ps/PsPixmap.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "windowstr.h" #include "gcstruct.h" diff --git a/Xprint/ps/PsPolygon.c b/Xprint/ps/PsPolygon.c index dca00fa21b..a1ae67f8da 100644 --- a/Xprint/ps/PsPolygon.c +++ b/Xprint/ps/PsPolygon.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/ps/PsPrint.c b/Xprint/ps/PsPrint.c index 721e430aef..05e8e25880 100644 --- a/Xprint/ps/PsPrint.c +++ b/Xprint/ps/PsPrint.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/ps/PsSpans.c b/Xprint/ps/PsSpans.c index a7370866ea..d7652f8fb0 100644 --- a/Xprint/ps/PsSpans.c +++ b/Xprint/ps/PsSpans.c @@ -75,6 +75,10 @@ in this Software without prior written authorization from The Open Group. ********************************************************************/ /* $XFree86: xc/programs/Xserver/Xprint/ps/PsSpans.c,v 1.8 2001/10/28 03:32:56 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/Xprint/ps/PsText.c b/Xprint/ps/PsText.c index 8bb0b0fb2e..228e407dcf 100644 --- a/Xprint/ps/PsText.c +++ b/Xprint/ps/PsText.c @@ -74,11 +74,15 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "Ps.h" #include "gcstruct.h" #include "windowstr.h" -#include "fntfil.h" -#include "fntfilst.h" +#include +#include #include int diff --git a/Xprint/ps/PsWindow.c b/Xprint/ps/PsWindow.c index 3a9a7ed2a2..313e51f312 100644 --- a/Xprint/ps/PsWindow.c +++ b/Xprint/ps/PsWindow.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/ps/psout.c b/Xprint/ps/psout.c index 66764401c9..ffaf863edb 100644 --- a/Xprint/ps/psout.c +++ b/Xprint/ps/psout.c @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/ps/psout.h b/Xprint/ps/psout.h index d60717b558..8441d8d076 100644 --- a/Xprint/ps/psout.h +++ b/Xprint/ps/psout.h @@ -74,6 +74,10 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _psout_ #define _psout_ diff --git a/Xprint/ps/psout_ft.c b/Xprint/ps/psout_ft.c index 938c8b1aed..fbb7e3ec4e 100644 --- a/Xprint/ps/psout_ft.c +++ b/Xprint/ps/psout_ft.c @@ -21,6 +21,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include @@ -32,11 +36,11 @@ THE SOFTWARE. #include FT_TYPE1_TABLES_H #include -#include "font.h" -#include "fontstruct.h" -#include "fntfilst.h" -#include "fontutil.h" -#include "fontenc.h" +#include +#include +#include +#include +#include #include "ft.h" #include "ftfuncs.h" #include "servermd.h" /* needed for endian test (IMAGE_BYTE_ORDER) */ diff --git a/Xprint/ps/psout_ftpstype1.c b/Xprint/ps/psout_ftpstype1.c index 2e77653d21..6860eaf2ab 100644 --- a/Xprint/ps/psout_ftpstype1.c +++ b/Xprint/ps/psout_ftpstype1.c @@ -22,6 +22,10 @@ THE SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include @@ -35,11 +39,11 @@ THE SOFTWARE. #include FT_FREETYPE_H #include -#include "font.h" -#include "fontstruct.h" -#include "fntfilst.h" -#include "fontutil.h" -#include "fontenc.h" +#include +#include +#include +#include +#include #include "ft.h" #include "ftfuncs.h" diff --git a/Xprint/ps/psout_ftpstype3.c b/Xprint/ps/psout_ftpstype3.c index 82c5e5f051..1d9b00c7c2 100644 --- a/Xprint/ps/psout_ftpstype3.c +++ b/Xprint/ps/psout_ftpstype3.c @@ -21,6 +21,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include @@ -59,11 +63,11 @@ THE SOFTWARE. #endif /* USE_FT_INTERNALS */ #include -#include "font.h" -#include "fontstruct.h" -#include "fntfilst.h" -#include "fontutil.h" -#include "fontenc.h" +#include +#include +#include +#include +#include #include "ft.h" #include "ftfuncs.h" diff --git a/Xprint/ps/ttf2pt1wrap.c b/Xprint/ps/ttf2pt1wrap.c index bd5ef526e3..57bb777d2a 100644 --- a/Xprint/ps/ttf2pt1wrap.c +++ b/Xprint/ps/ttf2pt1wrap.c @@ -2,6 +2,10 @@ * Wrapper to add missing symbol to externally supplied code */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef Lynx extern int optind; extern char *optarg; diff --git a/Xprint/raster/Raster.c b/Xprint/raster/Raster.c index 5c69d44d2c..3651c3f5dc 100644 --- a/Xprint/raster/Raster.c +++ b/Xprint/raster/Raster.c @@ -48,6 +48,10 @@ copyright holders. ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/raster/Raster.h b/Xprint/raster/Raster.h index af6f3fa1f2..d4dbc22d43 100644 --- a/Xprint/raster/Raster.h +++ b/Xprint/raster/Raster.h @@ -44,6 +44,10 @@ copyright holders. ** ********************************************************* ** ********************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _RASTER_H_ #define _RASTER_H_ diff --git a/Xprint/raster/RasterAttVal.c b/Xprint/raster/RasterAttVal.c index 811ac65caa..3bba176d1f 100644 --- a/Xprint/raster/RasterAttVal.c +++ b/Xprint/raster/RasterAttVal.c @@ -32,6 +32,10 @@ copyright holders. */ /* $XFree86: xc/programs/Xserver/Xprint/raster/RasterAttVal.c,v 1.3 2001/10/31 22:50:29 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/spooler.c b/Xprint/spooler.c index 8367a8438d..f709c57abd 100644 --- a/Xprint/spooler.c +++ b/Xprint/spooler.c @@ -27,6 +27,10 @@ dealings in this Software without prior written authorization from said copyright holders. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/Xprint/spooler.h b/Xprint/spooler.h index ac1257c558..4e9b4aefcd 100644 --- a/Xprint/spooler.h +++ b/Xprint/spooler.h @@ -1,4 +1,8 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SPOOLER_H #define SPOOLER_H 1 diff --git a/afb/afb.h b/afb/afb.h index 708fe7643e..c1486dc2c9 100644 --- a/afb/afb.h +++ b/afb/afb.h @@ -52,6 +52,10 @@ SOFTWARE. written by drewry, september 1986 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "pixmap.h" #include "region.h" #include "gc.h" diff --git a/afb/afbbitblt.c b/afb/afbbitblt.c index b7ec21dfae..0c1c6bb9f0 100644 --- a/afb/afbbitblt.c +++ b/afb/afbbitblt.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbbitblt.c,v 5.25 94/04/17 20:28:16 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/afb/afbblt.c b/afb/afbblt.c index 11c791921a..6cbb0a8780 100644 --- a/afb/afbblt.c +++ b/afb/afbblt.c @@ -33,6 +33,10 @@ Author: Keith Packard */ /* $XConsortium: afbblt.c,v 1.11 94/04/17 20:28:16 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/afb/afbbres.c b/afb/afbbres.c index 5922bd8e13..baf8d996f0 100644 --- a/afb/afbbres.c +++ b/afb/afbbres.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbbres.c,v 1.22 94/04/17 20:28:17 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "afb.h" diff --git a/afb/afbbresd.c b/afb/afbbresd.c index 13cbf6a1f0..a5a9cd1340 100644 --- a/afb/afbbresd.c +++ b/afb/afbbresd.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbbresd.c,v 1.10 94/04/17 20:28:18 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "afb.h" diff --git a/afb/afbbstore.c b/afb/afbbstore.c index 050177ecf6..a74a9d9b86 100644 --- a/afb/afbbstore.c +++ b/afb/afbbstore.c @@ -31,6 +31,10 @@ from the X Consortium. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "afb.h" #include #include "mibstore.h" diff --git a/afb/afbclip.c b/afb/afbclip.c index 2d4385806f..ea7413233a 100644 --- a/afb/afbclip.c +++ b/afb/afbclip.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbclip.c,v 5.6 94/04/17 20:28:19 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "regionstr.h" #include "pixmapstr.h" diff --git a/afb/afbcmap.c b/afb/afbcmap.c index c43725aa43..69b5d7ca4f 100644 --- a/afb/afbcmap.c +++ b/afb/afbcmap.c @@ -29,6 +29,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/afb/afbfillarc.c b/afb/afbfillarc.c index 60d7d758c2..17b4902d91 100644 --- a/afb/afbfillarc.c +++ b/afb/afbfillarc.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from the X Consortium. /* $XConsortium: afbfillarc.c,v 5.14 94/04/17 20:28:20 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/afb/afbfillrct.c b/afb/afbfillrct.c index 83863a0a76..3646d78c6b 100644 --- a/afb/afbfillrct.c +++ b/afb/afbfillrct.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbfillrct.c,v 5.10 94/04/17 20:28:21 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/afb/afbfillsp.c b/afb/afbfillsp.c index 3af84e6bf0..ffb6334094 100644 --- a/afb/afbfillsp.c +++ b/afb/afbfillsp.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbfillsp.c,v 5.13 94/04/17 20:28:21 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/afb/afbfont.c b/afb/afbfont.c index 8b1c957835..bf77825f14 100644 --- a/afb/afbfont.c +++ b/afb/afbfont.c @@ -48,11 +48,15 @@ SOFTWARE. */ /* $XConsortium: afbfont.c,v 1.18 94/04/17 20:28:22 keith Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "afb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" diff --git a/afb/afbgc.c b/afb/afbgc.c index cfd9abdc93..e9f4c52b7c 100644 --- a/afb/afbgc.c +++ b/afb/afbgc.c @@ -48,12 +48,16 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbgc.c,v 5.35 94/04/17 20:28:23 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "afb.h" #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "gcstruct.h" #include "windowstr.h" #include "pixmapstr.h" diff --git a/afb/afbgetsp.c b/afb/afbgetsp.c index 2bdd1675ac..10384615ab 100644 --- a/afb/afbgetsp.c +++ b/afb/afbgetsp.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbgetsp.c,v 5.10 94/04/17 20:28:24 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/afb/afbhrzvert.c b/afb/afbhrzvert.c index 6f27c2540f..d7ddce1a16 100644 --- a/afb/afbhrzvert.c +++ b/afb/afbhrzvert.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbhrzvert.c,v 1.15 94/04/17 20:28:24 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gc.h" diff --git a/afb/afbimage.c b/afb/afbimage.c index c5225cf9bc..353fd6f894 100644 --- a/afb/afbimage.c +++ b/afb/afbimage.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/afb/afbimage.c,v 3.2 1998/03/20 21:04:55 hohndel Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "pixmapstr.h" diff --git a/afb/afbimggblt.c b/afb/afbimggblt.c index 3444b4eec2..28113b4486 100644 --- a/afb/afbimggblt.c +++ b/afb/afbimggblt.c @@ -49,11 +49,15 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbimggblt.c,v 5.17 94/04/17 20:28:25 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "afb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/afb/afbline.c b/afb/afbline.c index 6d59ee3b6e..255ea21c17 100644 --- a/afb/afbline.c +++ b/afb/afbline.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbline.c,v 5.18 94/04/17 20:28:26 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/afb/afbmisc.c b/afb/afbmisc.c index ee65118310..08ebc62f7f 100644 --- a/afb/afbmisc.c +++ b/afb/afbmisc.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbmisc.c,v 5.4 94/04/17 20:28:27 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "cursor.h" diff --git a/afb/afbpixmap.c b/afb/afbpixmap.c index 3d12451257..a155c101b9 100644 --- a/afb/afbpixmap.c +++ b/afb/afbpixmap.c @@ -54,6 +54,10 @@ SOFTWARE. on a monchrome device, a pixmap is a bitmap. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "pixmapstr.h" diff --git a/afb/afbply1rct.c b/afb/afbply1rct.c index d1c7147530..90e55cf8e8 100644 --- a/afb/afbply1rct.c +++ b/afb/afbply1rct.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from the X Consortium. * Author: Keith Packard, MIT X Consortium */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/afb/afbplygblt.c b/afb/afbplygblt.c index 774f837999..7d4f5ddd70 100644 --- a/afb/afbplygblt.c +++ b/afb/afbplygblt.c @@ -49,11 +49,15 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbimggblt.c,v 5.17 94/04/17 20:28:25 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "afb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/afb/afbpntarea.c b/afb/afbpntarea.c index ab3031b927..648a2d19cc 100644 --- a/afb/afbpntarea.c +++ b/afb/afbpntarea.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbpntarea.c,v 5.7 94/04/17 20:28:29 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/afb/afbpntwin.c b/afb/afbpntwin.c index ee652b244b..aaa6847a9d 100644 --- a/afb/afbpntwin.c +++ b/afb/afbpntwin.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/afb/afbpolypnt.c b/afb/afbpolypnt.c index 8ae40e091a..4e9fa03107 100644 --- a/afb/afbpolypnt.c +++ b/afb/afbpolypnt.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbpolypnt.c,v 5.6 94/04/17 20:28:30 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/afb/afbpushpxl.c b/afb/afbpushpxl.c index c8b123b956..e621811883 100644 --- a/afb/afbpushpxl.c +++ b/afb/afbpushpxl.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbpushpxl.c,v 5.6 94/04/17 20:28:31 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "scrnintstr.h" diff --git a/afb/afbscrinit.c b/afb/afbscrinit.c index 6e82c9d602..2e10ad8858 100644 --- a/afb/afbscrinit.c +++ b/afb/afbscrinit.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbscrinit.c,v 5.17 94/04/17 20:28:34 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include /* for xColorItem */ #include diff --git a/afb/afbsetsp.c b/afb/afbsetsp.c index 6aeb3c6031..f039cd9f06 100644 --- a/afb/afbsetsp.c +++ b/afb/afbsetsp.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbsetsp.c,v 5.8 94/04/17 20:28:34 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/afb/afbtegblt.c b/afb/afbtegblt.c index 5159cda8ff..16f6ca4ea9 100644 --- a/afb/afbtegblt.c +++ b/afb/afbtegblt.c @@ -49,11 +49,15 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "afb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/afb/afbtile.c b/afb/afbtile.c index 3dc543dbe5..11d76abdfc 100644 --- a/afb/afbtile.c +++ b/afb/afbtile.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: afbtile.c,v 5.8 94/04/17 20:28:36 dpw Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/afb/afbwindow.c b/afb/afbwindow.c index 678c8f1b9e..443dd5aedf 100644 --- a/afb/afbwindow.c +++ b/afb/afbwindow.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/afb/afbzerarc.c b/afb/afbzerarc.c index 645ac8f4c0..ef62238db1 100644 --- a/afb/afbzerarc.c +++ b/afb/afbzerarc.c @@ -34,6 +34,10 @@ in this Software without prior written authorization from the X Consortium. * The Computer Journal, November 1967, Volume 10, Number 3, pp. 282-289 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/cfb/cfb.h b/cfb/cfb.h index 960f6756b3..71e0d89bc7 100644 --- a/cfb/cfb.h +++ b/cfb/cfb.h @@ -29,6 +29,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfb.h,v 3.29tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if !defined(__CFB_H__) || defined(CFB_PROTOTYPES_ONLY) #include diff --git a/cfb/cfb16.h b/cfb/cfb16.h index 3d51cd1423..1ad8972ef4 100644 --- a/cfb/cfb16.h +++ b/cfb/cfb16.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _CFB16_H_ #define _CFB16_H_ diff --git a/cfb/cfb24.h b/cfb/cfb24.h index f1876f74da..3a99934b74 100644 --- a/cfb/cfb24.h +++ b/cfb/cfb24.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _CFB24_H_ #define _CFB24_H_ diff --git a/cfb/cfb32.h b/cfb/cfb32.h index 5ea4c13c8b..48b48cbaf1 100644 --- a/cfb/cfb32.h +++ b/cfb/cfb32.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _CFB32_H_ #define _CFB32_H_ diff --git a/cfb/cfb8bit.c b/cfb/cfb8bit.c index 4d10cb0ce8..0bc5debbb4 100644 --- a/cfb/cfb8bit.c +++ b/cfb/cfb8bit.c @@ -35,6 +35,10 @@ from The Open Group. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if PSZ == 8 #include diff --git a/cfb/cfb8bit.h b/cfb/cfb8bit.h index 2bfdace35a..767549af72 100644 --- a/cfb/cfb8bit.h +++ b/cfb/cfb8bit.h @@ -36,6 +36,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfb8bit.h,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "servermd.h" #if (BITMAP_BIT_ORDER == MSBFirst) diff --git a/cfb/cfb8line.c b/cfb/cfb8line.c index 74e10cc034..0f27f1d47a 100644 --- a/cfb/cfb8line.c +++ b/cfb/cfb8line.c @@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. * Jeff Anton'x fixes: cfb8line.c 97/02/07 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/cfb/cfballpriv.c b/cfb/cfballpriv.c index 4739589d83..68edb281bc 100644 --- a/cfb/cfballpriv.c +++ b/cfb/cfballpriv.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/cfb/cfballpriv.c,v 1.11 2001/01/30 22:06:15 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbbitblt.c b/cfb/cfbbitblt.c index 0a68c07127..a9dd438fe2 100644 --- a/cfb/cfbbitblt.c +++ b/cfb/cfbbitblt.c @@ -33,6 +33,10 @@ Author: Keith Packard */ /* $Xorg: cfbbitblt.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/cfb/cfbblt.c b/cfb/cfbblt.c index 06e271640e..7a0b192cc7 100644 --- a/cfb/cfbblt.c +++ b/cfb/cfbblt.c @@ -34,6 +34,10 @@ Author: Keith Packard /* 24-bit bug fixes: Peter Wainwright, 1998/11/28 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/cfb/cfbbres.c b/cfb/cfbbres.c index ee20c981e7..fc6de4898e 100644 --- a/cfb/cfbbres.c +++ b/cfb/cfbbres.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cfbbres.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "cfb.h" diff --git a/cfb/cfbbresd.c b/cfb/cfbbresd.c index 44c8e0c8ea..ada5034d58 100644 --- a/cfb/cfbbresd.c +++ b/cfb/cfbbresd.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cfbbresd.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "cfb.h" diff --git a/cfb/cfbbstore.c b/cfb/cfbbstore.c index 1ca1655247..64adc40506 100644 --- a/cfb/cfbbstore.c +++ b/cfb/cfbbstore.c @@ -17,6 +17,10 @@ */ /* $Xorg: cfbbstore.c,v 1.3 2000/08/17 19:48:13 cpqbld Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "cfb.h" #include #include "mibstore.h" diff --git a/cfb/cfbcmap.c b/cfb/cfbcmap.c index 7d7f39a0ee..a7777eda84 100644 --- a/cfb/cfbcmap.c +++ b/cfb/cfbcmap.c @@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* $XFree86: xc/programs/Xserver/cfb/cfbcmap.c,v 3.12 2000/02/12 03:39:23 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/cfb/cfbcppl.c b/cfb/cfbcppl.c index b2b53999b2..037a516f22 100644 --- a/cfb/cfbcppl.c +++ b/cfb/cfbcppl.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/cfb/cfbcppl.c,v 1.6 2001/12/14 19:59:22 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/cfb/cfbfillarc.c b/cfb/cfbfillarc.c index 837067ff90..6fb6bb7283 100644 --- a/cfb/cfbfillarc.c +++ b/cfb/cfbfillarc.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbfillarc.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/cfb/cfbfillrct.c b/cfb/cfbfillrct.c index 4ea3177d1a..6578651144 100644 --- a/cfb/cfbfillrct.c +++ b/cfb/cfbfillrct.c @@ -30,6 +30,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbfillrct.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbfillsp.c b/cfb/cfbfillsp.c index d460fad1d1..efb462b6cb 100644 --- a/cfb/cfbfillsp.c +++ b/cfb/cfbfillsp.c @@ -77,6 +77,10 @@ SOFTWARE. /* $Xorg: cfbfillsp.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbgc.c b/cfb/cfbgc.c index 3937bd649b..9cf53d35bb 100644 --- a/cfb/cfbgc.c +++ b/cfb/cfbgc.c @@ -48,11 +48,15 @@ SOFTWARE. /* $Xorg: cfbgc.c,v 1.4 2001/02/09 02:04:37 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbgetsp.c b/cfb/cfbgetsp.c index b3d5b91c3f..08651a9bad 100644 --- a/cfb/cfbgetsp.c +++ b/cfb/cfbgetsp.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfbgetsp.c,v 3.9tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbglblt8.c b/cfb/cfbglblt8.c index 290970a50e..fda848fde9 100644 --- a/cfb/cfbglblt8.c +++ b/cfb/cfbglblt8.c @@ -30,11 +30,15 @@ in this Software without prior written authorization from The Open Group. * only. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbhrzvert.c b/cfb/cfbhrzvert.c index 408f605339..4df991b00d 100644 --- a/cfb/cfbhrzvert.c +++ b/cfb/cfbhrzvert.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cfbhrzvert.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gc.h" diff --git a/cfb/cfbigblt8.c b/cfb/cfbigblt8.c index c0ea250f6a..97356e8bdf 100644 --- a/cfb/cfbigblt8.c +++ b/cfb/cfbigblt8.c @@ -28,12 +28,16 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/cfb/cfbigblt8.c,v 1.5 2001/10/28 03:33:01 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mi.h" #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbimage.c b/cfb/cfbimage.c index 44c27151bb..ce3909e637 100644 --- a/cfb/cfbimage.c +++ b/cfb/cfbimage.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cfbimage.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "pixmapstr.h" diff --git a/cfb/cfbline.c b/cfb/cfbline.c index 8fec8fbd06..392fe483e4 100644 --- a/cfb/cfbline.c +++ b/cfb/cfbline.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cfbline.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/cfb/cfbmap.h b/cfb/cfbmap.h index 802517aac6..9ed10acaac 100644 --- a/cfb/cfbmap.h +++ b/cfb/cfbmap.h @@ -32,6 +32,10 @@ in this Software without prior written authorization from The Open Group. * Map names around so that multiple depths can be supported simultaneously */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if 0 #undef QuartetBitsTable #undef QuartetPixelMaskTable diff --git a/cfb/cfbmskbits.c b/cfb/cfbmskbits.c index cc21efc354..05954e62cb 100644 --- a/cfb/cfbmskbits.c +++ b/cfb/cfbmskbits.c @@ -48,6 +48,10 @@ bit index 32-n in a longword see also cfbmskbits.h */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/cfb/cfbmskbits.h b/cfb/cfbmskbits.h index a803cac727..8d6f118dff 100644 --- a/cfb/cfbmskbits.h +++ b/cfb/cfbmskbits.h @@ -31,6 +31,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* $Xorg: cfbmskbits.h,v 1.3 2000/08/17 19:48:14 cpqbld Exp $ */ /* Optimizations for PSZ == 32 added by Kyle Marvin (marvin@vitec.com) */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbpixmap.c b/cfb/cfbpixmap.c index 46bd90f6f2..f7e06bd13e 100644 --- a/cfb/cfbpixmap.c +++ b/cfb/cfbpixmap.c @@ -52,6 +52,10 @@ SOFTWARE. on a monchrome device, a pixmap is a bitmap. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "servermd.h" #include "scrnintstr.h" diff --git a/cfb/cfbply1rct.c b/cfb/cfbply1rct.c index 5d22136824..99a2379c92 100644 --- a/cfb/cfbply1rct.c +++ b/cfb/cfbply1rct.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/cfb/cfbply1rct.c,v 3.10 2003/10/29 22:44:53 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/cfb/cfbpntwin.c b/cfb/cfbpntwin.c index 9cb1c7b1d0..9bfdfe64f1 100644 --- a/cfb/cfbpntwin.c +++ b/cfb/cfbpntwin.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfbpntwin.c,v 3.7tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/cfb/cfbpolypnt.c b/cfb/cfbpolypnt.c index 607fc1b3c3..59ef0cf892 100644 --- a/cfb/cfbpolypnt.c +++ b/cfb/cfbpolypnt.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbpolypnt.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbpush8.c b/cfb/cfbpush8.c index 26e509c375..3492c8e25b 100644 --- a/cfb/cfbpush8.c +++ b/cfb/cfbpush8.c @@ -30,6 +30,10 @@ in this Software without prior written authorization from The Open Group. */ /* $Xorg: cfbpush8.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if PSZ == 8 #include diff --git a/cfb/cfbrctstp8.c b/cfb/cfbrctstp8.c index e8509b0292..9f753cdd71 100644 --- a/cfb/cfbrctstp8.c +++ b/cfb/cfbrctstp8.c @@ -32,6 +32,10 @@ Author: Keith Packard, MIT X Consortium /* $Xorg: cfbrctstp8.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if PSZ == 8 #include diff --git a/cfb/cfbrrop.c b/cfb/cfbrrop.c index 909d03a9ba..77487bc6ae 100644 --- a/cfb/cfbrrop.c +++ b/cfb/cfbrrop.c @@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. /* cfb reduced rasterop computations */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/cfb/cfbrrop.h b/cfb/cfbrrop.h index cfa3a93fa2..6deb7b899f 100644 --- a/cfb/cfbrrop.h +++ b/cfb/cfbrrop.h @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/cfb/cfbrrop.h,v 3.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GXcopy #include #endif diff --git a/cfb/cfbscrinit.c b/cfb/cfbscrinit.c index 2aae7d5a09..7299bbdf8e 100644 --- a/cfb/cfbscrinit.c +++ b/cfb/cfbscrinit.c @@ -29,6 +29,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $Xorg: cfbscrinit.c,v 1.3 2000/08/17 19:48:15 cpqbld Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbsetsp.c b/cfb/cfbsetsp.c index 9bf126a121..7501d938ba 100644 --- a/cfb/cfbsetsp.c +++ b/cfb/cfbsetsp.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfbsetsp.c,v 3.5tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbsolid.c b/cfb/cfbsolid.c index 1fd3acf027..9f90936472 100644 --- a/cfb/cfbsolid.c +++ b/cfb/cfbsolid.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/cfb/cfbsolid.c,v 3.8tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbtab.h b/cfb/cfbtab.h index f818551037..d95efd66da 100644 --- a/cfb/cfbtab.h +++ b/cfb/cfbtab.h @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _CFBTAB_H_ #define _CFBTAB_H_ diff --git a/cfb/cfbteblt8.c b/cfb/cfbteblt8.c index 2be72262ed..f58a07dc62 100644 --- a/cfb/cfbteblt8.c +++ b/cfb/cfbteblt8.c @@ -31,13 +31,17 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbteblt8.c,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if PSZ == 8 #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbtegblt.c b/cfb/cfbtegblt.c index 8893479b31..e3fb06f59a 100644 --- a/cfb/cfbtegblt.c +++ b/cfb/cfbtegblt.c @@ -47,11 +47,15 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfbtegblt.c,v 3.6tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/cfb/cfbtile32.c b/cfb/cfbtile32.c index c9f64f15c2..96e5620b7e 100644 --- a/cfb/cfbtile32.c +++ b/cfb/cfbtile32.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbtile32.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbtileodd.c b/cfb/cfbtileodd.c index dd5860894e..6c46aa4db0 100644 --- a/cfb/cfbtileodd.c +++ b/cfb/cfbtileodd.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: cfbtileodd.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/cfb/cfbwindow.c b/cfb/cfbwindow.c index 2c5eada23f..7160f54369 100644 --- a/cfb/cfbwindow.c +++ b/cfb/cfbwindow.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/cfb/cfbwindow.c,v 1.5tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/cfb/cfbzerarc.c b/cfb/cfbzerarc.c index 358658afc8..a9e0b2f9d6 100644 --- a/cfb/cfbzerarc.c +++ b/cfb/cfbzerarc.c @@ -33,6 +33,10 @@ in this Software without prior written authorization from The Open Group. * The Computer Journal, November 1967, Volume 10, Number 3, pp. 282-289 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/composite/compalloc.c b/composite/compalloc.c index 2e4eeb0c77..005c16209e 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/composite/compext.c b/composite/compext.c index 4770660248..e2b316edd1 100644 --- a/composite/compext.c +++ b/composite/compext.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/composite/compinit.c b/composite/compinit.c index 5109a74fa4..bc4099ba7c 100644 --- a/composite/compinit.c +++ b/composite/compinit.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/composite/compint.h b/composite/compint.h index c5f283c953..989e5ed941 100644 --- a/composite/compint.h +++ b/composite/compint.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _COMPINT_H_ #define _COMPINT_H_ diff --git a/composite/compwindow.c b/composite/compwindow.c index c7ea98c139..f12cdf7ae5 100644 --- a/composite/compwindow.c +++ b/composite/compwindow.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/damageext/damageext.c b/damageext/damageext.c index e18cad0724..26015c4350 100755 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/damageext/damageext.h b/damageext/damageext.h index 683c02734e..fb58483a04 100644 --- a/damageext/damageext.h +++ b/damageext/damageext.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DAMAGEEXT_H_ #define _DAMAGEEXT_H_ diff --git a/damageext/damageextint.h b/damageext/damageextint.h index 2f7b3ab45d..4e1a29e443 100644 --- a/damageext/damageextint.h +++ b/damageext/damageextint.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DAMAGEEXTINT_H_ #define _DAMAGEEXTINT_H_ diff --git a/dbe/dbe.c b/dbe/dbe.c index b705ead41a..992a7ab590 100644 --- a/dbe/dbe.c +++ b/dbe/dbe.c @@ -37,6 +37,10 @@ /* INCLUDES */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/dbe/dbestruct.h b/dbe/dbestruct.h index 13d09dea20..35deae8a92 100644 --- a/dbe/dbestruct.h +++ b/dbe/dbestruct.h @@ -33,6 +33,10 @@ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DBE_STRUCT_H #define DBE_STRUCT_H diff --git a/dbe/midbe.c b/dbe/midbe.c index 48a42daee0..c639583f13 100644 --- a/dbe/midbe.c +++ b/dbe/midbe.c @@ -37,6 +37,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dbe/midbe.h b/dbe/midbe.h index 3f9bb0090e..1110578cdb 100644 --- a/dbe/midbe.h +++ b/dbe/midbe.h @@ -33,6 +33,10 @@ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MIDBE_H #define MIDBE_H diff --git a/dbe/midbestr.h b/dbe/midbestr.h index 8c351072e8..248b448570 100644 --- a/dbe/midbestr.h +++ b/dbe/midbestr.h @@ -32,6 +32,10 @@ *****************************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MIDBE_STRUCT_H #define MIDBE_STRUCT_H diff --git a/dix/atom.c b/dix/atom.c index e337bfcd34..fbfa60716b 100644 --- a/dix/atom.c +++ b/dix/atom.c @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: atom.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/colormap.c b/dix/colormap.c index d64b9db235..5d2d40f283 100644 --- a/dix/colormap.c +++ b/dix/colormap.c @@ -49,6 +49,10 @@ SOFTWARE. /* $Xorg: colormap.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #include diff --git a/dix/cursor.c b/dix/cursor.c index 11b4629cfb..f4d6c6419c 100644 --- a/dix/cursor.c +++ b/dix/cursor.c @@ -49,6 +49,10 @@ SOFTWARE. /* $Xorg: cursor.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/dix/devices.c b/dix/devices.c index 82dabcf0f5..97ad3af37c 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -50,6 +50,10 @@ SOFTWARE. /* $Xorg: devices.c,v 1.4 2001/02/09 02:04:39 xorgcvs Exp $ */ /* $XdotOrg: xc/programs/Xserver/dix/devices.c,v 1.5 2005/05/22 01:12:49 alanc Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "resource.h" diff --git a/dix/dispatch.c b/dix/dispatch.c index 09445e038f..0fed6a0e78 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -78,13 +78,17 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/dix/dispatch.c,v 3.32 2003/11/10 18:21:45 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef PANORAMIX_DEBUG #include int ProcInitialConnection(); #endif #include "windowstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "selection.h" diff --git a/dix/dispatch.h b/dix/dispatch.h index ba43bdca29..89ea2dd7e4 100644 --- a/dix/dispatch.h +++ b/dix/dispatch.h @@ -30,6 +30,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * extension.c, property.c. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DISPATCH_H #define DISPATCH_H 1 diff --git a/dix/dixfonts.c b/dix/dixfonts.c index cbdd044e4f..5d11480f5b 100644 --- a/dix/dixfonts.c +++ b/dix/dixfonts.c @@ -52,6 +52,10 @@ Equipment Corporation. /* $Xorg: dixfonts.c,v 1.4 2000/08/17 19:48:18 cpqbld Exp $ */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/dixutils.c b/dix/dixutils.c index ac5636f938..7ce248959f 100644 --- a/dix/dixutils.c +++ b/dix/dixutils.c @@ -84,6 +84,10 @@ Author: Adobe Systems Incorporated /* $Xorg: dixutils.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/events.c b/dix/events.c index aea54187da..7db0d81e6e 100644 --- a/dix/events.c +++ b/dix/events.c @@ -111,6 +111,10 @@ of the copyright holder. /* $Xorg: events.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "resource.h" diff --git a/dix/extension.c b/dix/extension.c index f65565df2b..a3f83291c5 100644 --- a/dix/extension.c +++ b/dix/extension.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: extension.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #define NEED_REPLIES diff --git a/dix/gc.c b/dix/gc.c index 743d6e674f..dce737cf22 100644 --- a/dix/gc.c +++ b/dix/gc.c @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: gc.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/globals.c b/dix/globals.c index 3c15c5a0a0..67267eda12 100644 --- a/dix/globals.c +++ b/dix/globals.c @@ -49,6 +49,10 @@ SOFTWARE. /* $Xorg: globals.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/glyphcurs.c b/dix/glyphcurs.c index 5499cabc59..20c7ba2a3e 100644 --- a/dix/glyphcurs.c +++ b/dix/glyphcurs.c @@ -47,8 +47,12 @@ SOFTWARE. /* $Xorg: glyphcurs.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" #include "gcstruct.h" diff --git a/dix/grabs.c b/dix/grabs.c index 5887d2aab4..d3f88294d1 100644 --- a/dix/grabs.c +++ b/dix/grabs.c @@ -48,6 +48,10 @@ SOFTWARE. */ /* $XFree86: xc/programs/Xserver/dix/grabs.c,v 3.4 2002/02/19 11:09:22 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS diff --git a/dix/initatoms.c b/dix/initatoms.c index 96b758b776..d25c20d707 100644 --- a/dix/initatoms.c +++ b/dix/initatoms.c @@ -3,6 +3,10 @@ * Do not change! Changing this file implies a protocol change! */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/main.c b/dix/main.c index a8e4f05a45..f047e790ad 100644 --- a/dix/main.c +++ b/dix/main.c @@ -80,6 +80,10 @@ Equipment Corporation. /* $TOG: main.c /main/86 1998/02/09 14:20:03 kaleb $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include /* for unistd.h */ #include @@ -94,7 +98,7 @@ Equipment Corporation. #include "colormap.h" #include "colormapst.h" #include "cursorstr.h" -#include "font.h" +#include #include "opaque.h" #include "servermd.h" #include "site.h" diff --git a/dix/pixmap.c b/dix/pixmap.c index eef23673f1..e77ddaf666 100644 --- a/dix/pixmap.c +++ b/dix/pixmap.c @@ -28,6 +28,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/dix/pixmap.c,v 3.4 2001/01/17 22:36:44 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include diff --git a/dix/privates.c b/dix/privates.c index 905fe3d503..1b384d080b 100644 --- a/dix/privates.c +++ b/dix/privates.c @@ -29,6 +29,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/dix/privates.c,v 3.7 2001/01/17 22:36:44 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include diff --git a/dix/property.c b/dix/property.c index dec5a91d88..cabe46eccd 100644 --- a/dix/property.c +++ b/dix/property.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: property.c,v 1.4 2001/02/09 02:04:40 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/dix/resource.c b/dix/resource.c index 9f3794bd38..62481d0c18 100644 --- a/dix/resource.c +++ b/dix/resource.c @@ -102,6 +102,10 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/dix/resource.c,v 3.13 2003/09/24 02:43:13 dawes Exp $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/dix/swaprep.c b/dix/swaprep.c index 5d1284c08a..b424ffcfa4 100644 --- a/dix/swaprep.c +++ b/dix/swaprep.c @@ -48,13 +48,17 @@ SOFTWARE. /* $Xorg: swaprep.c,v 1.4 2001/02/09 02:04:41 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS #include #include #include "dixstruct.h" -#include "fontstruct.h" +#include #include "scrnintstr.h" #include "swaprep.h" #include "globals.h" diff --git a/dix/swapreq.c b/dix/swapreq.c index 2e8acaee97..ec19cf2a62 100644 --- a/dix/swapreq.c +++ b/dix/swapreq.c @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: swapreq.c,v 1.4 2001/02/09 02:04:41 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #include diff --git a/dix/tables.c b/dix/tables.c index 092abd61f9..5196f0e859 100644 --- a/dix/tables.c +++ b/dix/tables.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: tables.c,v 1.4 2001/02/09 02:04:41 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #define NEED_REPLIES diff --git a/dix/window.c b/dix/window.c index 858d650899..dba641d4a7 100644 --- a/dix/window.c +++ b/dix/window.c @@ -80,6 +80,10 @@ Equipment Corporation. /* $XFree86: xc/programs/Xserver/dix/window.c,v 3.36 2003/11/14 23:52:50 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include diff --git a/dix/xpstubs.c b/dix/xpstubs.c index 5f69e61191..09338eb92f 100644 --- a/dix/xpstubs.c +++ b/dix/xpstubs.c @@ -27,8 +27,12 @@ from The Open Group. /* $Xorg: xpstubs.c,v 1.5 2001/03/08 17:52:08 pookie Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include -#include "font.h" +#include #ifdef XPRINT #include "DiPrint.h" #endif diff --git a/exa/exa.c b/exa/exa.c index 73f1d932db..e2ef7a0e5b 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/exa/exa_accel.c b/exa/exa_accel.c index 73f1d932db..e2ef7a0e5b 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/exa/exa_migration.c b/exa/exa_migration.c index 73f1d932db..e2ef7a0e5b 100644 --- a/exa/exa_migration.c +++ b/exa/exa_migration.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/fb/fb.h b/fb/fb.h index 42e167777a..e3155bc9b8 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -24,6 +24,10 @@ /* $XdotOrg: xc/programs/Xserver/fb/fb.h,v 1.9 2005/04/20 12:25:19 daniels Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FB_H_ #define _FB_H_ diff --git a/fb/fb24_32.c b/fb/fb24_32.c index 2bdad1f3a4..214e2e6dd2 100644 --- a/fb/fb24_32.c +++ b/fb/fb24_32.c @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86.h" #include "xf86_ansic.h" diff --git a/fb/fb24_32.h b/fb/fb24_32.h index 74e04a183b..3c83f34231 100644 --- a/fb/fb24_32.h +++ b/fb/fb24_32.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FB24_32_H_ #define _FB24_32_H_ diff --git a/fb/fballpriv.c b/fb/fballpriv.c index 59d76d3330..75b5770490 100644 --- a/fb/fballpriv.c +++ b/fb/fballpriv.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fballpriv.c,v 1.3 2000/02/23 20:29:41 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef FB_SCREEN_PRIVATE diff --git a/fb/fbarc.c b/fb/fbarc.c index d7e0688b1e..315aa181c7 100644 --- a/fb/fbarc.c +++ b/fb/fbarc.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbarc.c,v 1.7tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "mizerarc.h" #ifdef IN_MODULE diff --git a/fb/fbbits.c b/fb/fbbits.c index a6bcd5b6a3..ab67b4cf32 100644 --- a/fb/fbbits.c +++ b/fb/fbbits.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbbits.c,v 1.5 2000/02/17 14:16:22 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "miline.h" #include "mizerarc.h" diff --git a/fb/fbbits.h b/fb/fbbits.h index 69b254452f..6997822293 100644 --- a/fb/fbbits.h +++ b/fb/fbbits.h @@ -29,6 +29,10 @@ #define isClipped(c,ul,lr) ((((c) - (ul)) | ((lr) - (c))) & 0x80008000) +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef BITSMUL #define MUL BITSMUL #else diff --git a/fb/fbblt.c b/fb/fbblt.c index b5daf1096c..131707dc65 100644 --- a/fb/fbblt.c +++ b/fb/fbblt.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbblt.c,v 1.7 2000/09/22 05:58:01 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #define InitializeShifts(sx,dx,ls,rs) { \ diff --git a/fb/fbbltone.c b/fb/fbbltone.c index ca45207b5f..59ba3932ee 100644 --- a/fb/fbbltone.c +++ b/fb/fbbltone.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbbltone.c,v 1.11 2001/09/07 15:15:31 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" /* diff --git a/fb/fbbstore.c b/fb/fbbstore.c index c74eaa240d..01ec9b7e0e 100644 --- a/fb/fbbstore.c +++ b/fb/fbbstore.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbbstore.c,v 1.1 1999/11/19 13:53:42 hohndel Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbcmap.c b/fb/fbcmap.c index 4eacd194b9..762c51c9d5 100644 --- a/fb/fbcmap.c +++ b/fb/fbcmap.c @@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/fb/fbcompose.c b/fb/fbcompose.c index 5b735fcc46..8cb0c86ccd 100644 --- a/fb/fbcompose.c +++ b/fb/fbcompose.c @@ -24,6 +24,10 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/fb/fbcopy.c b/fb/fbcopy.c index 9adccd71b9..eb295a3976 100644 --- a/fb/fbcopy.c +++ b/fb/fbcopy.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbcopy.c,v 1.13 2003/11/10 18:21:47 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef IN_MODULE #include "xf86_ansic.h" diff --git a/fb/fbedge.c b/fb/fbedge.c index 7a383020b6..f3311c6dff 100644 --- a/fb/fbedge.c +++ b/fb/fbedge.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/fb/fbedgeimp.h b/fb/fbedgeimp.h index 4a91adc196..136a15e363 100644 --- a/fb/fbedgeimp.h +++ b/fb/fbedgeimp.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef rasterizeSpan #endif diff --git a/fb/fbfill.c b/fb/fbfill.c index 5ab7019ad7..3c49599595 100644 --- a/fb/fbfill.c +++ b/fb/fbfill.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfill.c,v 1.5 2003/01/29 00:43:33 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "fbmmx.h" diff --git a/fb/fbfillrect.c b/fb/fbfillrect.c index 43b2e6b158..2a60da165d 100644 --- a/fb/fbfillrect.c +++ b/fb/fbfillrect.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfillrect.c,v 1.1 1999/11/19 13:53:43 hohndel Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbfillsp.c b/fb/fbfillsp.c index e5e322d857..e2bb71e3a3 100644 --- a/fb/fbfillsp.c +++ b/fb/fbfillsp.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfillsp.c,v 1.1 1999/11/19 13:53:43 hohndel Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbgc.c b/fb/fbgc.c index 76b8fdc8a1..4c581a6300 100644 --- a/fb/fbgc.c +++ b/fb/fbgc.c @@ -24,6 +24,10 @@ /* $XdotOrg: xc/programs/Xserver/fb/fbgc.c,v 1.3 2004/12/04 00:42:50 kuhn Exp $ */ /* $XFree86: xc/programs/Xserver/fb/fbgc.c,v 1.14 2003/12/18 15:22:32 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef IN_MODULE #include "xf86_ansic.h" diff --git a/fb/fbgetsp.c b/fb/fbgetsp.c index de69be3cc8..7c58dcb827 100644 --- a/fb/fbgetsp.c +++ b/fb/fbgetsp.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbgetsp.c,v 1.5 2000/05/06 21:09:33 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbglyph.c b/fb/fbglyph.c index c2a265c126..b97f0c0b30 100644 --- a/fb/fbglyph.c +++ b/fb/fbglyph.c @@ -23,8 +23,12 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #define dummyScreen screenInfo.screens[0] diff --git a/fb/fbimage.c b/fb/fbimage.c index 171993a0a9..96bd8cf950 100644 --- a/fb/fbimage.c +++ b/fb/fbimage.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbimage.c,v 1.7 2001/05/29 04:54:09 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef XFree86LOADER #include "xf86.h" diff --git a/fb/fbline.c b/fb/fbline.c index ad684604f7..8e99dd99fe 100644 --- a/fb/fbline.c +++ b/fb/fbline.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbmmx.c b/fb/fbmmx.c index 9db335b441..d9c3af2ed5 100644 --- a/fb/fbmmx.c +++ b/fb/fbmmx.c @@ -26,6 +26,10 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef USE_MMX #include "fb.h" diff --git a/fb/fbmmx.h b/fb/fbmmx.h index 39e8d1e9c3..9ec8affd7a 100644 --- a/fb/fbmmx.h +++ b/fb/fbmmx.h @@ -22,6 +22,10 @@ * * Based on work by Owen Taylor */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef USE_MMX #ifndef __amd64__ diff --git a/fb/fboverlay.c b/fb/fboverlay.c index c165df9c4a..e777d8e068 100644 --- a/fb/fboverlay.c +++ b/fb/fboverlay.c @@ -25,6 +25,10 @@ /* $XdotOrg: xc/programs/Xserver/fb/fboverlay.c,v 1.5 2004/12/04 00:42:50 kuhn Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "fboverlay.h" diff --git a/fb/fboverlay.h b/fb/fboverlay.h index e6a4e033ff..a0eb8c7c4e 100644 --- a/fb/fboverlay.h +++ b/fb/fboverlay.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FBOVERLAY_H_ #define _FBOVERLAY_H_ diff --git a/fb/fbpict.c b/fb/fbpict.c index c269b5eae3..40dd2853c9 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef RENDER diff --git a/fb/fbpict.h b/fb/fbpict.h index 3e751e9f0e..35f8ec34ed 100644 --- a/fb/fbpict.h +++ b/fb/fbpict.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FBPICT_H_ #define _FBPICT_H_ diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c index 482b30f574..1cb34e4d9d 100644 --- a/fb/fbpixmap.c +++ b/fb/fbpixmap.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbpixmap.c,v 1.9 2001/05/29 04:54:09 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef IN_MODULE #include "xf86_ansic.h" diff --git a/fb/fbpoint.c b/fb/fbpoint.c index 4bf345d93a..5ba24e0e5b 100644 --- a/fb/fbpoint.c +++ b/fb/fbpoint.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbpoint.c,v 1.7 2000/09/22 05:58:01 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" typedef void (*FbDots) (FbBits *dst, diff --git a/fb/fbpseudocolor.c b/fb/fbpseudocolor.c index 43a9f4ff5d..ef40b70739 100644 --- a/fb/fbpseudocolor.c +++ b/fb/fbpseudocolor.c @@ -1,12 +1,16 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" #include "colormapst.h" #include "glyphstr.h" #include "resource.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "micmap.h" #include "fb.h" #include "fbpseudocolor.h" diff --git a/fb/fbpseudocolor.h b/fb/fbpseudocolor.h index 64de71db86..c653fbcab6 100644 --- a/fb/fbpseudocolor.h +++ b/fb/fbpseudocolor.h @@ -1,3 +1,7 @@ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FB_XX_H_ # define _FB_XX_H_ diff --git a/fb/fbpush.c b/fb/fbpush.c index 09485cfbe8..8f13369638 100644 --- a/fb/fbpush.c +++ b/fb/fbpush.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbpush.c,v 1.3 2000/02/14 19:20:30 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbrop.h b/fb/fbrop.h index 65f62c393c..541071b194 100644 --- a/fb/fbrop.h +++ b/fb/fbrop.h @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbrop.h,v 1.3 2000/02/14 19:20:30 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _FBROP_H_ #define _FBROP_H_ diff --git a/fb/fbscreen.c b/fb/fbscreen.c index 750b9e5562..804503e126 100644 --- a/fb/fbscreen.c +++ b/fb/fbscreen.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbscreen.c,v 1.13 2001/05/29 04:54:09 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" Bool diff --git a/fb/fbseg.c b/fb/fbseg.c index 71474bbd24..18a996e0cc 100644 --- a/fb/fbseg.c +++ b/fb/fbseg.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbseg.c,v 1.7 2001/01/17 07:40:02 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "miline.h" diff --git a/fb/fbsetsp.c b/fb/fbsetsp.c index 9e6d1a08f9..eefc2da82b 100644 --- a/fb/fbsetsp.c +++ b/fb/fbsetsp.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbsetsp.c,v 1.4 2000/05/06 21:09:34 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbsolid.c b/fb/fbsolid.c index d727e4d011..89effe63b7 100644 --- a/fb/fbsolid.c +++ b/fb/fbsolid.c @@ -24,6 +24,10 @@ #define FbSelectPart(xor,o,t) xor +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" void diff --git a/fb/fbstipple.c b/fb/fbstipple.c index 7c92715909..44aa5f3311 100644 --- a/fb/fbstipple.c +++ b/fb/fbstipple.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbstipple.c,v 1.6 2000/02/23 20:29:47 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifndef FBNOPIXADDR diff --git a/fb/fbtile.c b/fb/fbtile.c index 09bf97f1f7..ef32422413 100644 --- a/fb/fbtile.c +++ b/fb/fbtile.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbtile.c,v 1.3 2000/02/12 03:39:43 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" /* diff --git a/fb/fbtrap.c b/fb/fbtrap.c index 09bff0bfd6..863969527f 100644 --- a/fb/fbtrap.c +++ b/fb/fbtrap.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef RENDER diff --git a/fb/fbutil.c b/fb/fbutil.c index e35f0db033..8153ab364d 100644 --- a/fb/fbutil.c +++ b/fb/fbutil.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbutil.c,v 1.4 2000/02/23 20:29:48 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" FbBits diff --git a/fb/fbwindow.c b/fb/fbwindow.c index 4968d29afd..8820856b06 100644 --- a/fb/fbwindow.c +++ b/fb/fbwindow.c @@ -24,6 +24,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbwindow.c,v 1.10tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #ifdef IN_MODULE #include "xf86_ansic.h" diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c index 1731b92cda..57673d746f 100644 --- a/hw/dmx/dmx.c +++ b/hw/dmx/dmx.c @@ -43,6 +43,10 @@ * Please see the Client-to-Server DMX Extension to the X Protocol * document for details about the protocol. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/dmx/dmxfont.c b/hw/dmx/dmxfont.c index 171d306c30..4ce736bf89 100644 --- a/hw/dmx/dmxfont.c +++ b/hw/dmx/dmxfont.c @@ -42,7 +42,7 @@ #include "dmxfont.h" #include "dmxlog.h" -#include "fontstruct.h" +#include #include "dixfont.h" #include "dixstruct.h" diff --git a/hw/dmx/dmxfont.h b/hw/dmx/dmxfont.h index 9912db65ce..f69aac1960 100644 --- a/hw/dmx/dmxfont.h +++ b/hw/dmx/dmxfont.h @@ -38,7 +38,7 @@ #ifndef DMXFONT_H #define DMXFONT_H -#include "fontstruct.h" +#include /** Font private area. */ typedef struct _dmxFontPriv { diff --git a/hw/xfree86/common/atKeynames.h b/hw/xfree86/common/atKeynames.h index d37f5b0f06..8b3e303d7f 100644 --- a/hw/xfree86/common/atKeynames.h +++ b/hw/xfree86/common/atKeynames.h @@ -50,6 +50,10 @@ /* $XConsortium: atKeynames.h /main/11 1996/03/09 11:17:41 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _ATKEYNAMES_H #define _ATKEYNAMES_H diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index b7d8133299..86f2376751 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -50,6 +50,10 @@ /* $XConsortium: compiler.h /main/16 1996/10/25 15:38:34 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _COMPILER_H # if !defined(_XF86_ANSIC_H) && defined(XFree86Module) diff --git a/hw/xfree86/common/fourcc.h b/hw/xfree86/common/fourcc.h index e60aa4e835..164678ec28 100644 --- a/hw/xfree86/common/fourcc.h +++ b/hw/xfree86/common/fourcc.h @@ -34,6 +34,10 @@ For an explanation of fourcc <-> guid mappings see RFC2361. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_FOURCC_H_ #define _XF86_FOURCC_H_ 1 diff --git a/hw/xfree86/common/scoasm.h b/hw/xfree86/common/scoasm.h index dbf8c8f86f..a8baea6c2e 100644 --- a/hw/xfree86/common/scoasm.h +++ b/hw/xfree86/common/scoasm.h @@ -31,6 +31,10 @@ * scoasm.h - used to define inline versions of certain functions which * do NOT appear in sys/inline.h. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef SCO325 #ifndef _SCOASM_HDR_INC #define _SCOASM_HDR_INC diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 1885eaa72f..8d74fc8087 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -34,6 +34,10 @@ * "public" means available to video drivers. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_H #define _XF86_H diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 5f48867244..28b6ca68e5 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -33,6 +33,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86AutoConfig.c,v 1.2 2003/11/03 05:11:01 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Parser.h" #include "xf86tokens.h" diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 903f61c281..a4779d0d9c 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -31,6 +31,10 @@ * This file contains the interfaces to the bus-specific code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index fbeca7f9ca..96da6e6a9e 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -33,6 +33,10 @@ * video drivers must not include this file. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_BUS_H #define _XF86_BUS_H diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 269923c29a..af27d95310 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -46,6 +46,10 @@ * ... and others */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XF86DRI #include #include diff --git a/hw/xfree86/common/xf86Config.h b/hw/xfree86/common/xf86Config.h index e54da3d099..77b25ed321 100644 --- a/hw/xfree86/common/xf86Config.h +++ b/hw/xfree86/common/xf86Config.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86_config_h #define _xf86_config_h diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index d35f0c8d72..b77d530389 100644 --- a/hw/xfree86/common/xf86Configure.c +++ b/hw/xfree86/common/xf86Configure.c @@ -24,6 +24,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86Cursor.c b/hw/xfree86/common/xf86Cursor.c index f5f969060c..0e2d77492d 100644 --- a/hw/xfree86/common/xf86Cursor.c +++ b/hw/xfree86/common/xf86Cursor.c @@ -29,6 +29,10 @@ /* $XConsortium: xf86Cursor.c /main/10 1996/10/19 17:58:23 kaleb $ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/common/xf86DGA.c b/hw/xfree86/common/xf86DGA.c index 3d9bdfe222..4e47f2eee6 100644 --- a/hw/xfree86/common/xf86DGA.c +++ b/hw/xfree86/common/xf86DGA.c @@ -29,6 +29,10 @@ * Written by Mark Vojkovich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86str.h" #include "xf86Priv.h" diff --git a/hw/xfree86/common/xf86DPMS.c b/hw/xfree86/common/xf86DPMS.c index 50a3e66d23..535c7e8fa9 100644 --- a/hw/xfree86/common/xf86DPMS.c +++ b/hw/xfree86/common/xf86DPMS.c @@ -32,6 +32,10 @@ * This file contains the DPMS functions required by the extension. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "globals.h" diff --git a/hw/xfree86/common/xf86Date.h b/hw/xfree86/common/xf86Date.h index 15aafb8179..4b65d2c1f7 100644 --- a/hw/xfree86/common/xf86Date.h +++ b/hw/xfree86/common/xf86Date.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XF86_DATE #define XF86_DATE "18 December 2003" diff --git a/hw/xfree86/common/xf86Debug.c b/hw/xfree86/common/xf86Debug.c index 76b69d79be..a41d0dd758 100644 --- a/hw/xfree86/common/xf86Debug.c +++ b/hw/xfree86/common/xf86Debug.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xf86DefModes.c b/hw/xfree86/common/xf86DefModes.c index 1d6d332ec7..a39d0a2126 100644 --- a/hw/xfree86/common/xf86DefModes.c +++ b/hw/xfree86/common/xf86DefModes.c @@ -9,6 +9,10 @@ * Author: Dirk Hohndel */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xf86DoProbe.c b/hw/xfree86/common/xf86DoProbe.c index f34d19a320..3208e6da8d 100644 --- a/hw/xfree86/common/xf86DoProbe.c +++ b/hw/xfree86/common/xf86DoProbe.c @@ -31,6 +31,10 @@ * Load the driver modules and call their probe functions. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86DoScanPci.c b/hw/xfree86/common/xf86DoScanPci.c index fe07d28751..c9c8128b26 100644 --- a/hw/xfree86/common/xf86DoScanPci.c +++ b/hw/xfree86/common/xf86DoScanPci.c @@ -31,6 +31,10 @@ * Call the functions from the scanpci module. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index a40c91b0f3..90beb56882 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -53,6 +53,10 @@ /* [JCH-96/01/21] Extended std reverse map to four buttons. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xf86Globals.c b/hw/xfree86/common/xf86Globals.c index 653b4433cb..c6488d6778 100644 --- a/hw/xfree86/common/xf86Globals.c +++ b/hw/xfree86/common/xf86Globals.c @@ -31,6 +31,10 @@ * This file contains all the XFree86 global variables. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "windowstr.h" diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 50466697b5..04f0d01504 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -36,6 +36,10 @@ * different drivers. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/hw/xfree86/common/xf86InPriv.h b/hw/xfree86/common/xf86InPriv.h index 32e3c8e1d7..4a02606d39 100644 --- a/hw/xfree86/common/xf86InPriv.h +++ b/hw/xfree86/common/xf86InPriv.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86InPriv_h #define _xf86InPriv_h diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 5db7f1a360..d4f4dd4869 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -32,6 +32,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #undef HAS_UTSNAME diff --git a/hw/xfree86/common/xf86Io.c b/hw/xfree86/common/xf86Io.c index 338e28297f..606084d418 100644 --- a/hw/xfree86/common/xf86Io.c +++ b/hw/xfree86/common/xf86Io.c @@ -52,6 +52,10 @@ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/common/xf86Io.c,v 1.3 2005/04/20 12:25:21 daniels Exp $ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "inputstr.h" diff --git a/hw/xfree86/common/xf86Kbd.c b/hw/xfree86/common/xf86Kbd.c index e1bbe8388c..85f9e34062 100644 --- a/hw/xfree86/common/xf86Kbd.c +++ b/hw/xfree86/common/xf86Kbd.c @@ -50,6 +50,10 @@ /* $XConsortium: xf86Kbd.c /main/10 1996/02/21 17:38:32 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xf86KbdBSD.c b/hw/xfree86/common/xf86KbdBSD.c index 3c6c0eece2..c1f6156e3e 100644 --- a/hw/xfree86/common/xf86KbdBSD.c +++ b/hw/xfree86/common/xf86KbdBSD.c @@ -51,6 +51,10 @@ /* $XConsortium: xf86KbdBSD.c /main/6 1996/10/23 13:12:27 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/common/xf86KbdLnx.c b/hw/xfree86/common/xf86KbdLnx.c index f6e9200c93..81e9122e7b 100644 --- a/hw/xfree86/common/xf86KbdLnx.c +++ b/hw/xfree86/common/xf86KbdLnx.c @@ -57,6 +57,10 @@ /* $XConsortium: xf86KbdLnx.c /main/7 1996/10/19 17:59:00 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/common/xf86KbdMach.c b/hw/xfree86/common/xf86KbdMach.c index 0dc4b6fca9..89c23c24ac 100644 --- a/hw/xfree86/common/xf86KbdMach.c +++ b/hw/xfree86/common/xf86KbdMach.c @@ -37,6 +37,10 @@ */ /* $XConsortium: xf86KbdMach.c /main/9 1996/02/21 17:38:43 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/common/xf86Keymap.h b/hw/xfree86/common/xf86Keymap.h index 82ea52eefe..f0998ba9bb 100644 --- a/hw/xfree86/common/xf86Keymap.h +++ b/hw/xfree86/common/xf86Keymap.h @@ -36,6 +36,10 @@ static KeySym map[NUM_KEYCODES * GLYPHS_PER_KEY] = { +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if !defined(__SOL8__) && (!defined(sun) || defined(i386)) /* 0x00 */ NoSymbol, NoSymbol, NoSymbol, NoSymbol, diff --git a/hw/xfree86/common/xf86MiscExt.c b/hw/xfree86/common/xf86MiscExt.c index d59bea0c82..75a1d71fc0 100644 --- a/hw/xfree86/common/xf86MiscExt.c +++ b/hw/xfree86/common/xf86MiscExt.c @@ -31,6 +31,10 @@ * XFree86-Misc extension. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c index 6209290dfc..0211e3ced3 100644 --- a/hw/xfree86/common/xf86Mode.c +++ b/hw/xfree86/common/xf86Mode.c @@ -36,6 +36,10 @@ * This file includes helper functions for mode related things. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h index 7f4179cc32..7e11e776fb 100644 --- a/hw/xfree86/common/xf86Module.h +++ b/hw/xfree86/common/xf86Module.h @@ -40,6 +40,10 @@ * XXX This file arguably belongs in xfree86/loader/. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86MODULE_H #define _XF86MODULE_H diff --git a/hw/xfree86/common/xf86Opt.h b/hw/xfree86/common/xf86Opt.h index 718732353f..d207ec0a9d 100644 --- a/hw/xfree86/common/xf86Opt.h +++ b/hw/xfree86/common/xf86Opt.h @@ -29,6 +29,10 @@ /* Option handling things that ModuleSetup procs can use */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_OPT_H_ #define _XF86_OPT_H_ diff --git a/hw/xfree86/common/xf86Option.c b/hw/xfree86/common/xf86Option.c index ae131aa7c1..695d977077 100644 --- a/hw/xfree86/common/xf86Option.c +++ b/hw/xfree86/common/xf86Option.c @@ -32,6 +32,10 @@ * This file includes public option handling functions. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86PM.c b/hw/xfree86/common/xf86PM.c index a307bebb02..0262be3dfc 100644 --- a/hw/xfree86/common/xf86PM.c +++ b/hw/xfree86/common/xf86PM.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/common/xf86PciInfo.h b/hw/xfree86/common/xf86PciInfo.h index ab8836bd63..12cf3dd625 100644 --- a/hw/xfree86/common/xf86PciInfo.h +++ b/hw/xfree86/common/xf86PciInfo.h @@ -47,6 +47,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_PCIINFO_H #define _XF86_PCIINFO_H diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 8b0a4323bd..01257fd9b1 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -34,6 +34,10 @@ * "private" means not available to video drivers. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86PRIV_H #define _XF86PRIV_H diff --git a/hw/xfree86/common/xf86Privstr.h b/hw/xfree86/common/xf86Privstr.h index 93d64fd51f..cbec1ade7c 100644 --- a/hw/xfree86/common/xf86Privstr.h +++ b/hw/xfree86/common/xf86Privstr.h @@ -32,6 +32,10 @@ * None of the data structures here should be used by video drivers. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86PRIVSTR_H #define _XF86PRIVSTR_H diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c index 7c77777e4e..a020e97b21 100644 --- a/hw/xfree86/common/xf86RandR.c +++ b/hw/xfree86/common/xf86RandR.c @@ -23,6 +23,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "mibank.h" diff --git a/hw/xfree86/common/xf86Resources.h b/hw/xfree86/common/xf86Resources.h index ce2c62bb3b..6ba347f348 100644 --- a/hw/xfree86/common/xf86Resources.h +++ b/hw/xfree86/common/xf86Resources.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_RESOURCES_H #define _XF86_RESOURCES_H diff --git a/hw/xfree86/common/xf86Version.h b/hw/xfree86/common/xf86Version.h index 45746bc901..f0652fcb08 100644 --- a/hw/xfree86/common/xf86Version.h +++ b/hw/xfree86/common/xf86Version.h @@ -28,6 +28,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XF86_VERSION_CURRENT #define XF86_VERSION_MAJOR 4 diff --git a/hw/xfree86/common/xf86Versions.c b/hw/xfree86/common/xf86Versions.c index 7b20ef9ab9..6de7d53c29 100644 --- a/hw/xfree86/common/xf86Versions.c +++ b/hw/xfree86/common/xf86Versions.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86OSmouse.h" #include "xf86OSKbd.h" diff --git a/hw/xfree86/common/xf86VidMode.c b/hw/xfree86/common/xf86VidMode.c index 1b2b63bbfd..ec371f2998 100644 --- a/hw/xfree86/common/xf86VidMode.c +++ b/hw/xfree86/common/xf86VidMode.c @@ -35,6 +35,10 @@ * maintained. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/common/xf86XKB.c b/hw/xfree86/common/xf86XKB.c index ab13ebd0f0..68be17c3a2 100644 --- a/hw/xfree86/common/xf86XKB.c +++ b/hw/xfree86/common/xf86XKB.c @@ -53,6 +53,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86XKB.c,v 3.12 2003/08/24 17:36:55 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index e9f9fae3e0..0d1f98844d 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -50,6 +50,10 @@ /* $XConsortium: xf86Xinput.c /main/14 1996/10/27 11:05:25 kaleb $ */ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/common/xf86Xinput.c,v 1.4 2005/04/20 12:25:21 daniels Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #ifdef XINPUT diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index 0c20f78fec..e45fd0f4da 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -51,6 +51,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Xinput.h,v 3.36 2003/08/24 17:36:55 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86Xinput_h #define _xf86Xinput_h diff --git a/hw/xfree86/common/xf86cmap.c b/hw/xfree86/common/xf86cmap.c index e27dceee9d..019d842874 100644 --- a/hw/xfree86/common/xf86cmap.c +++ b/hw/xfree86/common/xf86cmap.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \ || (defined(sun) && defined(__SVR4)) #include diff --git a/hw/xfree86/common/xf86cmap.h b/hw/xfree86/common/xf86cmap.h index 4291b971a3..25e17e54cd 100644 --- a/hw/xfree86/common/xf86cmap.h +++ b/hw/xfree86/common/xf86cmap.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86CMAP_H #define _XF86CMAP_H diff --git a/hw/xfree86/common/xf86fbBus.c b/hw/xfree86/common/xf86fbBus.c index 0d448e27b1..bceca0dd8a 100644 --- a/hw/xfree86/common/xf86fbBus.c +++ b/hw/xfree86/common/xf86fbBus.c @@ -31,6 +31,10 @@ * This file contains the interfaces to the bus-specific code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86fbman.c b/hw/xfree86/common/xf86fbman.c index fef4d633c1..3228c9bdff 100644 --- a/hw/xfree86/common/xf86fbman.c +++ b/hw/xfree86/common/xf86fbman.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/common/xf86fbman.h b/hw/xfree86/common/xf86fbman.h index adb26a1f1e..3ea0248bf4 100644 --- a/hw/xfree86/common/xf86fbman.h +++ b/hw/xfree86/common/xf86fbman.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86FBMAN_H #define _XF86FBMAN_H diff --git a/hw/xfree86/common/xf86isaBus.c b/hw/xfree86/common/xf86isaBus.c index 56a79ac23b..97d5c3f537 100644 --- a/hw/xfree86/common/xf86isaBus.c +++ b/hw/xfree86/common/xf86isaBus.c @@ -31,6 +31,10 @@ * This file contains the interfaces to the bus-specific code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86noBus.c b/hw/xfree86/common/xf86noBus.c index 904de01d60..70cdf1cc0a 100644 --- a/hw/xfree86/common/xf86noBus.c +++ b/hw/xfree86/common/xf86noBus.c @@ -31,6 +31,10 @@ * This file contains the interfaces to the bus-specific code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index da732e0a5f..f01c7add8c 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -31,6 +31,10 @@ */ #define INCLUDE_DEPRECATED 1 +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86pciBus.h b/hw/xfree86/common/xf86pciBus.h index fbb733ae73..75d82fbcf2 100644 --- a/hw/xfree86/common/xf86pciBus.h +++ b/hw/xfree86/common/xf86pciBus.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_PCI_BUS_H #define _XF86_PCI_BUS_H diff --git a/hw/xfree86/common/xf86sbusBus.c b/hw/xfree86/common/xf86sbusBus.c index 5b747e2481..ae4688737a 100644 --- a/hw/xfree86/common/xf86sbusBus.c +++ b/hw/xfree86/common/xf86sbusBus.c @@ -22,6 +22,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86sbusBus.c,v 3.6 2001/03/03 22:16:35 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index 81c1b84ac6..39688e5691 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -22,6 +22,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86sbusBus.h,v 3.4 2001/10/28 03:33:19 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_SBUSBUS_H #define _XF86_SBUSBUS_H diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h index 67052b2201..1869597088 100644 --- a/hw/xfree86/common/xf86str.h +++ b/hw/xfree86/common/xf86str.h @@ -32,6 +32,10 @@ * Any data structures that video drivers need to access should go here. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86STR_H #define _XF86STR_H diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index 79cda35c52..0c8b39a70d 100644 --- a/hw/xfree86/common/xf86xv.c +++ b/hw/xfree86/common/xf86xv.c @@ -30,6 +30,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86xv.c,v 1.37 2003/11/10 18:22:15 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_OSproc.h" diff --git a/hw/xfree86/common/xf86xv.h b/hw/xfree86/common/xf86xv.h index 316d6c9e51..258848b244 100644 --- a/hw/xfree86/common/xf86xv.h +++ b/hw/xfree86/common/xf86xv.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86XV_H_ #define _XF86XV_H_ diff --git a/hw/xfree86/common/xf86xvmc.c b/hw/xfree86/common/xf86xvmc.c index f6d0aaf399..bad2233e21 100644 --- a/hw/xfree86/common/xf86xvmc.c +++ b/hw/xfree86/common/xf86xvmc.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_OSproc.h" diff --git a/hw/xfree86/common/xf86xvmc.h b/hw/xfree86/common/xf86xvmc.h index 0b073aac8f..97eef7093a 100644 --- a/hw/xfree86/common/xf86xvmc.h +++ b/hw/xfree86/common/xf86xvmc.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86XVMC_H #define _XF86XVMC_H diff --git a/hw/xfree86/common/xf86xvpriv.h b/hw/xfree86/common/xf86xvpriv.h index 0d1efdafb5..7b0b5376d5 100644 --- a/hw/xfree86/common/xf86xvpriv.h +++ b/hw/xfree86/common/xf86xvpriv.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86XVPRIV_H_ #define _XF86XVPRIV_H_ diff --git a/hw/xfree86/common/xisb.c b/hw/xfree86/common/xisb.c index 33fedeb0ff..4ffc3ede41 100644 --- a/hw/xfree86/common/xisb.c +++ b/hw/xfree86/common/xisb.c @@ -36,6 +36,10 @@ * Standard Headers ****************************************************************************/ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/common/xisb.h b/hw/xfree86/common/xisb.h index 39ae2ee110..1e917a138e 100644 --- a/hw/xfree86/common/xisb.h +++ b/hw/xfree86/common/xisb.h @@ -26,6 +26,10 @@ */ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xisb_H_ #define _xisb_H_ diff --git a/hw/xfree86/common/xorgHelper.c b/hw/xfree86/common/xorgHelper.c index af729a01fd..3eed90a117 100644 --- a/hw/xfree86/common/xorgHelper.c +++ b/hw/xfree86/common/xorgHelper.c @@ -1,5 +1,9 @@ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/common/xorgHelper.c,v 1.3 2005/04/20 12:25:21 daniels Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/hw/xfree86/common/xorgVersion.h b/hw/xfree86/common/xorgVersion.h index 47005320a6..de7f6f6b2c 100644 --- a/hw/xfree86/common/xorgVersion.h +++ b/hw/xfree86/common/xorgVersion.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XORG_VERSION_H # define XORG_VERSION_H diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c index 577e8169a9..a3d7068ec6 100644 --- a/hw/xfree86/ddc/ddcProperty.c +++ b/hw/xfree86/ddc/ddcProperty.c @@ -5,6 +5,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/ddcProperty.c,v 1.9tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" /* #include "xf86_ansic.h" */ diff --git a/hw/xfree86/ddc/edid.c b/hw/xfree86/ddc/edid.c index b173636488..a6c05bfe2e 100644 --- a/hw/xfree86/ddc/edid.c +++ b/hw/xfree86/ddc/edid.c @@ -7,6 +7,10 @@ * * Copyright 1998 by Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index f7e7a76ba1..a14b482843 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -10,6 +10,10 @@ * Copyright 1998 by Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _EDID_H_ #define _EDID_H_ diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c index a2437a4ba9..36983f4527 100644 --- a/hw/xfree86/ddc/interpret_edid.c +++ b/hw/xfree86/ddc/interpret_edid.c @@ -4,6 +4,10 @@ * * Copyright 1998 by Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ddc/interpret_vdif.c b/hw/xfree86/ddc/interpret_vdif.c index a499db1dad..c21bac17a2 100644 --- a/hw/xfree86/ddc/interpret_vdif.c +++ b/hw/xfree86/ddc/interpret_vdif.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/interpret_vdif.c,v 1.5 1999/12/03 19:17:26 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86DDC.h" #include "vdif.h" diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index 391f220cdf..e23256bcce 100644 --- a/hw/xfree86/ddc/print_edid.c +++ b/hw/xfree86/ddc/print_edid.c @@ -4,6 +4,10 @@ * * Copyright 1998 by Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ddc/print_vdif.c b/hw/xfree86/ddc/print_vdif.c index 8329e129ad..6c890c2107 100644 --- a/hw/xfree86/ddc/print_vdif.c +++ b/hw/xfree86/ddc/print_vdif.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/print_vdif.c,v 1.4tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "vdif.h" #include #include "xf86DDC.h" diff --git a/hw/xfree86/ddc/vdif.h b/hw/xfree86/ddc/vdif.h index 5c129aef0e..002cebba86 100644 --- a/hw/xfree86/ddc/vdif.h +++ b/hw/xfree86/ddc/vdif.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/vdif.h,v 1.4tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _VDIF_H #define _VDIF_H diff --git a/hw/xfree86/ddc/xf86DDC.c b/hw/xfree86/ddc/xf86DDC.c index 3490fd5336..b323f6b224 100644 --- a/hw/xfree86/ddc/xf86DDC.c +++ b/hw/xfree86/ddc/xf86DDC.c @@ -4,6 +4,10 @@ * * Copyright 1998,1999 by Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ddc/xf86DDC.h b/hw/xfree86/ddc/xf86DDC.h index 3d94fd9763..c6ded82a16 100644 --- a/hw/xfree86/ddc/xf86DDC.h +++ b/hw/xfree86/ddc/xf86DDC.h @@ -11,6 +11,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XF86_DDC_H # define XF86_DDC_H diff --git a/hw/xfree86/dixmods/GLcoremodule.c b/hw/xfree86/dixmods/GLcoremodule.c index 9369db1f22..666ce52ce9 100644 --- a/hw/xfree86/dixmods/GLcoremodule.c +++ b/hw/xfree86/dixmods/GLcoremodule.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/GL/mesa/GLcore/GLcoremodule.c,v 1.1 2002/02/25 00:45:41 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/GL/mesa/src/GLcoremodule.c,v 1.5 2000/02/23 04:46:55 martin Exp $ */ /************************************************************************** Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86Module.h" static MODULESETUPPROTO(GLcoreSetup); @@ -42,7 +46,7 @@ static XF86ModuleVersionInfo VersRec = MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, - XF86_VERSION_CURRENT, + XORG_VERSION_CURRENT, 1, 0, 0, ABI_CLASS_EXTENSION, ABI_EXTENSION_VERSION, diff --git a/hw/xfree86/dixmods/afbmodule.c b/hw/xfree86/dixmods/afbmodule.c index 7920aa9bd2..74dca9a261 100644 --- a/hw/xfree86/dixmods/afbmodule.c +++ b/hw/xfree86/dixmods/afbmodule.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/bitmapmod.c b/hw/xfree86/dixmods/bitmapmod.c index 5141fd80ac..0ae9ff7ad7 100644 --- a/hw/xfree86/dixmods/bitmapmod.c +++ b/hw/xfree86/dixmods/bitmapmod.c @@ -25,9 +25,13 @@ */ /* $XFree86: xc/lib/font/bitmap/module/bitmapmod.c,v 1.7 1999/01/26 05:53:47 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include -#include "fontmod.h" +#include #include "xf86Module.h" static MODULESETUPPROTO(bitmapSetup); diff --git a/hw/xfree86/dixmods/cfb16module.c b/hw/xfree86/dixmods/cfb16module.c index ef5c794596..7dcf526254 100644 --- a/hw/xfree86/dixmods/cfb16module.c +++ b/hw/xfree86/dixmods/cfb16module.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/cfb24module.c b/hw/xfree86/dixmods/cfb24module.c index e7e683ae04..c467db7034 100644 --- a/hw/xfree86/dixmods/cfb24module.c +++ b/hw/xfree86/dixmods/cfb24module.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/cfb32module.c b/hw/xfree86/dixmods/cfb32module.c index 2d75763b04..619586320c 100644 --- a/hw/xfree86/dixmods/cfb32module.c +++ b/hw/xfree86/dixmods/cfb32module.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/cfbmodule.c b/hw/xfree86/dixmods/cfbmodule.c index 142442adb8..f2cd87e592 100644 --- a/hw/xfree86/dixmods/cfbmodule.c +++ b/hw/xfree86/dixmods/cfbmodule.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/dbemodule.c b/hw/xfree86/dixmods/dbemodule.c index ff2b7ffbcd..218b28cece 100644 --- a/hw/xfree86/dixmods/dbemodule.c +++ b/hw/xfree86/dixmods/dbemodule.c @@ -1,5 +1,13 @@ /* $XFree86: xc/programs/Xserver/dbe/dbemodule.c,v 1.6 1999/01/26 05:53:50 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86Module.h" static MODULESETUPPROTO(dbeSetup); diff --git a/hw/xfree86/dixmods/extmod/dgaproc.h b/hw/xfree86/dixmods/extmod/dgaproc.h index eb97910983..06c55e009d 100644 --- a/hw/xfree86/dixmods/extmod/dgaproc.h +++ b/hw/xfree86/dixmods/extmod/dgaproc.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/Xext/dgaproc.h,v 1.21 2000/06/30 19:06:54 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __DGAPROC_H #define __DGAPROC_H diff --git a/hw/xfree86/dixmods/extmod/modinit.c b/hw/xfree86/dixmods/extmod/modinit.c index b4e9a1e941..88d3f6c2e4 100644 --- a/hw/xfree86/dixmods/extmod/modinit.c +++ b/hw/xfree86/dixmods/extmod/modinit.c @@ -23,6 +23,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86_ansic.h" diff --git a/hw/xfree86/dixmods/extmod/modinit.h b/hw/xfree86/dixmods/extmod/modinit.h index cb58e7fb90..3e185e4607 100644 --- a/hw/xfree86/dixmods/extmod/modinit.h +++ b/hw/xfree86/dixmods/extmod/modinit.h @@ -1,6 +1,10 @@ /* $XdotOrg: xc/programs/Xserver/Xext/extmod/modinit.h,v 1.3 2005/04/20 12:25:13 daniels Exp $ */ /* $XFree86: xc/programs/Xserver/Xext/extmod/modinit.h,v 1.1 2003/07/16 01:38:33 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef INITARGS #define INITARGS void #endif diff --git a/hw/xfree86/dixmods/extmod/vidmodeproc.h b/hw/xfree86/dixmods/extmod/vidmodeproc.h index 99bac9daca..918d1e4dfd 100644 --- a/hw/xfree86/dixmods/extmod/vidmodeproc.h +++ b/hw/xfree86/dixmods/extmod/vidmodeproc.h @@ -2,6 +2,10 @@ /* Prototypes for DGA functions that the DDX must provide */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _VIDMODEPROC_H_ #define _VIDMODEPROC_H_ diff --git a/hw/xfree86/dixmods/extmod/xf86dga.c b/hw/xfree86/dixmods/extmod/xf86dga.c index efa7d1b400..1fdead0bc2 100644 --- a/hw/xfree86/dixmods/extmod/xf86dga.c +++ b/hw/xfree86/dixmods/extmod/xf86dga.c @@ -9,6 +9,10 @@ Copyright (c) 1995, 1996, 1999 XFree86 Inc #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/dixmods/extmod/xf86dga2.c b/hw/xfree86/dixmods/extmod/xf86dga2.c index 7224a5eeeb..990d71da2b 100644 --- a/hw/xfree86/dixmods/extmod/xf86dga2.c +++ b/hw/xfree86/dixmods/extmod/xf86dga2.c @@ -8,6 +8,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/dixmods/extmod/xf86dgaext.h b/hw/xfree86/dixmods/extmod/xf86dgaext.h index a823e28f28..16fc4c8b22 100644 --- a/hw/xfree86/dixmods/extmod/xf86dgaext.h +++ b/hw/xfree86/dixmods/extmod/xf86dgaext.h @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XF86DGAEXT_H_ #define _XF86DGAEXT_H_ diff --git a/hw/xfree86/dixmods/extmod/xf86misc.c b/hw/xfree86/dixmods/extmod/xf86misc.c index e5ce56fc49..8c0f481b1f 100644 --- a/hw/xfree86/dixmods/extmod/xf86misc.c +++ b/hw/xfree86/dixmods/extmod/xf86misc.c @@ -8,6 +8,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/dixmods/extmod/xf86miscproc.h b/hw/xfree86/dixmods/extmod/xf86miscproc.h index 3dab4277a4..87a2517675 100644 --- a/hw/xfree86/dixmods/extmod/xf86miscproc.h +++ b/hw/xfree86/dixmods/extmod/xf86miscproc.h @@ -2,6 +2,10 @@ /* Prototypes for Pointer/Keyboard functions that the DDX must provide */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XF86MISCPROC_H_ #define _XF86MISCPROC_H_ diff --git a/hw/xfree86/dixmods/extmod/xf86vmode.c b/hw/xfree86/dixmods/extmod/xf86vmode.c index 99de107c4c..005c961020 100644 --- a/hw/xfree86/dixmods/extmod/xf86vmode.c +++ b/hw/xfree86/dixmods/extmod/xf86vmode.c @@ -35,6 +35,10 @@ from Kaleb S. KEITHLEY #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/dixmods/extmod/xvmod.c b/hw/xfree86/dixmods/extmod/xvmod.c index 0ffca8397f..9f15129c37 100644 --- a/hw/xfree86/dixmods/extmod/xvmod.c +++ b/hw/xfree86/dixmods/extmod/xvmod.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/Xext/xvmod.c,v 1.1 1998/08/13 14:45:36 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/hw/xfree86/dixmods/extmod/xvmodproc.h b/hw/xfree86/dixmods/extmod/xvmodproc.h index e08aef7f9e..b284e3f4e8 100644 --- a/hw/xfree86/dixmods/extmod/xvmodproc.h +++ b/hw/xfree86/dixmods/extmod/xvmodproc.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/Xext/xvmodproc.h,v 1.2 2001/03/05 04:51:55 mvojkovi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xvmcext.h" extern int (*XvGetScreenIndexProc)(void); diff --git a/hw/xfree86/dixmods/fbmodule.c b/hw/xfree86/dixmods/fbmodule.c index 1b9b665dd2..50cce798c5 100644 --- a/hw/xfree86/dixmods/fbmodule.c +++ b/hw/xfree86/dixmods/fbmodule.c @@ -25,6 +25,14 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbmodule.c,v 1.3 2000/02/14 19:20:29 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/ftmodule.c b/hw/xfree86/dixmods/ftmodule.c index 1f65cefbe8..27b2bd2c38 100644 --- a/hw/xfree86/dixmods/ftmodule.c +++ b/hw/xfree86/dixmods/ftmodule.c @@ -27,7 +27,7 @@ #include "misc.h" -#include "fontmod.h" +#include #include "xf86Module.h" static MODULESETUPPROTO(freetypeSetup); diff --git a/hw/xfree86/dixmods/laymodule.c b/hw/xfree86/dixmods/laymodule.c index 49fa254ccf..5bcd101aa0 100644 --- a/hw/xfree86/dixmods/laymodule.c +++ b/hw/xfree86/dixmods/laymodule.c @@ -22,15 +22,23 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/hw/xfree86/dixmods/mfbmodule.c b/hw/xfree86/dixmods/mfbmodule.c index 40d884c9e3..dc9fddc5b6 100644 --- a/hw/xfree86/dixmods/mfbmodule.c +++ b/hw/xfree86/dixmods/mfbmodule.c @@ -25,6 +25,14 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/recordmod.c b/hw/xfree86/dixmods/recordmod.c index 4eebf0ee6a..2825555c2b 100644 --- a/hw/xfree86/dixmods/recordmod.c +++ b/hw/xfree86/dixmods/recordmod.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/record/recordmod.c,v 1.5 1999/01/26 05:54:21 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86Module.h" extern Bool noTestExtensions; diff --git a/hw/xfree86/dixmods/shmodule.c b/hw/xfree86/dixmods/shmodule.c index 28f971a62b..16ba6f2cef 100644 --- a/hw/xfree86/dixmods/shmodule.c +++ b/hw/xfree86/dixmods/shmodule.c @@ -22,15 +22,23 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/hw/xfree86/dixmods/type1mod.c b/hw/xfree86/dixmods/type1mod.c index 868de3de49..3e8547b505 100644 --- a/hw/xfree86/dixmods/type1mod.c +++ b/hw/xfree86/dixmods/type1mod.c @@ -27,7 +27,7 @@ #include "misc.h" -#include "fontmod.h" +#include #include "xf86Module.h" static MODULESETUPPROTO(type1Setup); diff --git a/hw/xfree86/dixmods/xf86XTrapModule.c b/hw/xfree86/dixmods/xf86XTrapModule.c index f6e37b54e5..1783d577a2 100644 --- a/hw/xfree86/dixmods/xf86XTrapModule.c +++ b/hw/xfree86/dixmods/xf86XTrapModule.c @@ -2,6 +2,10 @@ /* This is the xf86 module code for the DEC_XTRAP extension. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86Module.h" #include diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 094703bc0f..7308b3d0e4 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -34,6 +34,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86.h" #ifdef XFree86LOADER #include "xf86_ansic.h" diff --git a/hw/xfree86/dri/dri.h b/hw/xfree86/dri/dri.h index bfb0d64a80..52acad959b 100644 --- a/hw/xfree86/dri/dri.h +++ b/hw/xfree86/dri/dri.h @@ -34,6 +34,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /* Prototypes for DRI functions */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DRI_H_ #include "scrnintstr.h" diff --git a/hw/xfree86/dri/drimodule.c b/hw/xfree86/dri/drimodule.c index 1fa7a8edc2..446ba64311 100644 --- a/hw/xfree86/dri/drimodule.c +++ b/hw/xfree86/dri/drimodule.c @@ -34,6 +34,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86Module.h" static MODULESETUPPROTO(driSetup); diff --git a/hw/xfree86/dri/dristruct.h b/hw/xfree86/dri/dristruct.h index cf1b1eacf9..47335ed04d 100644 --- a/hw/xfree86/dri/dristruct.h +++ b/hw/xfree86/dri/dristruct.h @@ -32,6 +32,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DRI_STRUCT_H #define DRI_STRUCT_H diff --git a/hw/xfree86/dri/sarea.h b/hw/xfree86/dri/sarea.h index 77c16e0efe..dd33c87a4a 100644 --- a/hw/xfree86/dri/sarea.h +++ b/hw/xfree86/dri/sarea.h @@ -36,6 +36,10 @@ /* $XFree86: xc/programs/Xserver/GL/dri/sarea.h,v 1.11 2002/10/30 12:52:03 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _SAREA_H_ #define _SAREA_H_ diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 3df025b0a0..4a58b6c9ef 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -35,6 +35,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "xf86.h" #ifdef XFree86LOADER #include "xf86_ansic.h" diff --git a/hw/xfree86/dummylib/dummylib.h b/hw/xfree86/dummylib/dummylib.h index 5835446bff..ca27e43d1f 100644 --- a/hw/xfree86/dummylib/dummylib.h +++ b/hw/xfree86/dummylib/dummylib.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/dummylib.h,v 1.1 2000/02/13 03:06:38 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _DUMMY_LIB_H #define _DUMMY_LIB_H diff --git a/hw/xfree86/dummylib/fatalerror.c b/hw/xfree86/dummylib/fatalerror.c index e754a2013d..7677fc0551 100644 --- a/hw/xfree86/dummylib/fatalerror.c +++ b/hw/xfree86/dummylib/fatalerror.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/getvalidbios.c b/hw/xfree86/dummylib/getvalidbios.c index 862f85b4ed..4a578ca463 100644 --- a/hw/xfree86/dummylib/getvalidbios.c +++ b/hw/xfree86/dummylib/getvalidbios.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/getvalidbios.c,v 1.1 2000/02/13 03:06:38 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/logvwrite.c b/hw/xfree86/dummylib/logvwrite.c index 0ff83881b9..fc560f10fd 100644 --- a/hw/xfree86/dummylib/logvwrite.c +++ b/hw/xfree86/dummylib/logvwrite.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/verrorfverb.c,v 1.2 2003/08/25 04:13:05 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/pcitestmulti.c b/hw/xfree86/dummylib/pcitestmulti.c index 59424f20f2..80804627e0 100644 --- a/hw/xfree86/dummylib/pcitestmulti.c +++ b/hw/xfree86/dummylib/pcitestmulti.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/verrorf.c b/hw/xfree86/dummylib/verrorf.c index 90283ccb3b..5deb56d703 100644 --- a/hw/xfree86/dummylib/verrorf.c +++ b/hw/xfree86/dummylib/verrorf.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xalloc.c b/hw/xfree86/dummylib/xalloc.c index 383fa08a0a..4676a93cfd 100644 --- a/hw/xfree86/dummylib/xalloc.c +++ b/hw/xfree86/dummylib/xalloc.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xalloc.c,v 1.1 2000/02/13 03:06:39 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86addrestolist.c b/hw/xfree86/dummylib/xf86addrestolist.c index 006a6382ae..fe21d5cabb 100644 --- a/hw/xfree86/dummylib/xf86addrestolist.c +++ b/hw/xfree86/dummylib/xf86addrestolist.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86addrestolist.c,v 1.2tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" resPtr diff --git a/hw/xfree86/dummylib/xf86allocscripi.c b/hw/xfree86/dummylib/xf86allocscripi.c index 934f016df1..05a9cca06a 100644 --- a/hw/xfree86/dummylib/xf86allocscripi.c +++ b/hw/xfree86/dummylib/xf86allocscripi.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86drvmsg.c b/hw/xfree86/dummylib/xf86drvmsg.c index 090827a057..4cd9de04c6 100644 --- a/hw/xfree86/dummylib/xf86drvmsg.c +++ b/hw/xfree86/dummylib/xf86drvmsg.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86drvmsg.c,v 1.1 2000/02/13 03:06:40 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86drvmsgverb.c b/hw/xfree86/dummylib/xf86drvmsgverb.c index 8089a46dab..2dcc2eccbb 100644 --- a/hw/xfree86/dummylib/xf86drvmsgverb.c +++ b/hw/xfree86/dummylib/xf86drvmsgverb.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86drvmsgverb.c,v 1.1 2000/02/13 03:06:40 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86errorf.c b/hw/xfree86/dummylib/xf86errorf.c index 9fbe347e6c..9fa9e803fc 100644 --- a/hw/xfree86/dummylib/xf86errorf.c +++ b/hw/xfree86/dummylib/xf86errorf.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86errorf.c,v 1.2 2000/05/31 07:15:05 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86errorfverb.c b/hw/xfree86/dummylib/xf86errorfverb.c index 3dc3264c39..3a06b02d19 100644 --- a/hw/xfree86/dummylib/xf86errorfverb.c +++ b/hw/xfree86/dummylib/xf86errorfverb.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86errorfverb.c,v 1.1 2000/02/13 03:06:41 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86getpagesize.c b/hw/xfree86/dummylib/xf86getpagesize.c index b417d30076..f9454cb73b 100644 --- a/hw/xfree86/dummylib/xf86getpagesize.c +++ b/hw/xfree86/dummylib/xf86getpagesize.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86getverb.c b/hw/xfree86/dummylib/xf86getverb.c index 8a48b52456..50d423d229 100644 --- a/hw/xfree86/dummylib/xf86getverb.c +++ b/hw/xfree86/dummylib/xf86getverb.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86info.c b/hw/xfree86/dummylib/xf86info.c index 9d0f6ecd73..61c1fe4d66 100644 --- a/hw/xfree86/dummylib/xf86info.c +++ b/hw/xfree86/dummylib/xf86info.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86msg.c b/hw/xfree86/dummylib/xf86msg.c index 6a0e382398..192d29dec0 100644 --- a/hw/xfree86/dummylib/xf86msg.c +++ b/hw/xfree86/dummylib/xf86msg.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86msg.c,v 1.1 2000/02/13 03:06:42 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86msgverb.c b/hw/xfree86/dummylib/xf86msgverb.c index 9296cc72f0..300311c890 100644 --- a/hw/xfree86/dummylib/xf86msgverb.c +++ b/hw/xfree86/dummylib/xf86msgverb.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86msgverb.c,v 1.1 2000/02/13 03:06:42 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86opt.c b/hw/xfree86/dummylib/xf86opt.c index 349443c9cf..9a24455f42 100644 --- a/hw/xfree86/dummylib/xf86opt.c +++ b/hw/xfree86/dummylib/xf86opt.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86opt.c,v 1.1 2000/02/13 03:06:42 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86screens.c b/hw/xfree86/dummylib/xf86screens.c index 0530e3b7ac..d5a11ce651 100644 --- a/hw/xfree86/dummylib/xf86screens.c +++ b/hw/xfree86/dummylib/xf86screens.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86servisinit.c b/hw/xfree86/dummylib/xf86servisinit.c index 148b8fb7e5..017f0b37eb 100644 --- a/hw/xfree86/dummylib/xf86servisinit.c +++ b/hw/xfree86/dummylib/xf86servisinit.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/dummylib/xf86verbose.c b/hw/xfree86/dummylib/xf86verbose.c index 297606fc5c..f6c5ed36ee 100644 --- a/hw/xfree86/dummylib/xf86verbose.c +++ b/hw/xfree86/dummylib/xf86verbose.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/exa/exa.c b/hw/xfree86/exa/exa.c index 73f1d932db..e2ef7a0e5b 100644 --- a/hw/xfree86/exa/exa.c +++ b/hw/xfree86/exa/exa.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/hw/xfree86/exa/exa_accel.c b/hw/xfree86/exa/exa_accel.c index 73f1d932db..e2ef7a0e5b 100644 --- a/hw/xfree86/exa/exa_accel.c +++ b/hw/xfree86/exa/exa_accel.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/hw/xfree86/exa/exa_migration.c b/hw/xfree86/exa/exa_migration.c index 73f1d932db..e2ef7a0e5b 100644 --- a/hw/xfree86/exa/exa_migration.c +++ b/hw/xfree86/exa/exa_migration.c @@ -26,7 +26,7 @@ #include #endif #include "exaPriv.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "xf86str.h" #include "xf86.h" diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 79ace00e16..8c4c51dec5 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.c +++ b/hw/xfree86/fbdevhw/fbdevhw.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c,v 1.32 2003/08/26 10:57:03 daenzer Exp $ */ /* all driver need this */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/fbdevhw/fbdevhw.h b/hw/xfree86/fbdevhw/fbdevhw.h index cfc3fcdb62..584ad4db25 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.h +++ b/hw/xfree86/fbdevhw/fbdevhw.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.h,v 1.11 2001/10/01 13:44:12 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _FBDEVHW_H_ #define _FBDEVHW_H_ diff --git a/hw/xfree86/fbdevhw/fbdevhwstub.c b/hw/xfree86/fbdevhw/fbdevhwstub.c index 7869bb31d3..80bccc8db3 100644 --- a/hw/xfree86/fbdevhw/fbdevhwstub.c +++ b/hw/xfree86/fbdevhw/fbdevhwstub.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhwstub.c,v 1.12 2001/10/28 03:33:55 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86cmap.h" #include "fbdevhw.h" diff --git a/hw/xfree86/fbdevhw/fbpriv.h b/hw/xfree86/fbdevhw/fbpriv.h index f4017fb2ae..a18b843456 100644 --- a/hw/xfree86/fbdevhw/fbpriv.h +++ b/hw/xfree86/fbdevhw/fbpriv.h @@ -4,6 +4,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbpriv.h,v 1.2 2000/01/21 02:30:02 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _LINUX_FB_H #define _LINUX_FB_H diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c index 4253d8075d..321c1e2e1d 100644 --- a/hw/xfree86/i2c/xf86i2c.c +++ b/hw/xfree86/i2c/xf86i2c.c @@ -8,6 +8,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/i2c/xf86i2c.c,v 1.14 2003/05/05 21:18:41 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if 1 #include #include "xf86.h" diff --git a/hw/xfree86/i2c/xf86i2c.h b/hw/xfree86/i2c/xf86i2c.h index 099406e8f4..035d49a510 100644 --- a/hw/xfree86/i2c/xf86i2c.h +++ b/hw/xfree86/i2c/xf86i2c.h @@ -3,6 +3,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/i2c/xf86i2c.h,v 1.10 2003/07/16 01:38:47 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86I2C_H #define _XF86I2C_H diff --git a/hw/xfree86/i2c/xf86i2cmodule.c b/hw/xfree86/i2c/xf86i2cmodule.c index 0058795f0d..7569af30e5 100644 --- a/hw/xfree86/i2c/xf86i2cmodule.c +++ b/hw/xfree86/i2c/xf86i2cmodule.c @@ -7,6 +7,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/i2c/xf86i2cmodule.c,v 1.6 1999/01/26 05:54:10 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Module.h" static MODULESETUPPROTO(i2cSetup); diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c index 01bb4c30a8..e9ddd3334a 100644 --- a/hw/xfree86/int10/generic.c +++ b/hw/xfree86/int10/generic.c @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c index c3d47da2bc..a9538f6e40 100644 --- a/hw/xfree86/int10/helper_exec.c +++ b/hw/xfree86/int10/helper_exec.c @@ -15,6 +15,10 @@ * on PIO. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/int10/helper_mem.c b/hw/xfree86/int10/helper_mem.c index c0433773dc..495a0e04dc 100644 --- a/hw/xfree86/int10/helper_mem.c +++ b/hw/xfree86/int10/helper_mem.c @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/int10/pci.c b/hw/xfree86/int10/pci.c index 7c95171d43..f35bd72330 100644 --- a/hw/xfree86/int10/pci.c +++ b/hw/xfree86/int10/pci.c @@ -5,6 +5,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Pci.h" #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/int10/stub.c b/hw/xfree86/int10/stub.c index c54de2461d..35b74cd421 100644 --- a/hw/xfree86/int10/stub.c +++ b/hw/xfree86/int10/stub.c @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86str.h" #include "xf86_OSproc.h" diff --git a/hw/xfree86/int10/x86emu.c b/hw/xfree86/int10/x86emu.c index 2d0faa6030..b9580a1de3 100644 --- a/hw/xfree86/int10/x86emu.c +++ b/hw/xfree86/int10/x86emu.c @@ -1,4 +1,8 @@ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef NO_SYS_HEADERS # include "xf86_ansic.h" #endif diff --git a/hw/xfree86/int10/xf86int10.c b/hw/xfree86/int10/xf86int10.c index e88c6500d5..06cf40b8cb 100644 --- a/hw/xfree86/int10/xf86int10.c +++ b/hw/xfree86/int10/xf86int10.c @@ -5,6 +5,10 @@ * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_ansic.h" #include "compiler.h" diff --git a/hw/xfree86/int10/xf86int10.h b/hw/xfree86/int10/xf86int10.h index 9e137df417..d88221a892 100644 --- a/hw/xfree86/int10/xf86int10.h +++ b/hw/xfree86/int10/xf86int10.h @@ -6,6 +6,10 @@ * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86INT10_H #define _XF86INT10_H diff --git a/hw/xfree86/int10/xf86int10module.c b/hw/xfree86/int10/xf86int10module.c index 2bb49cb0c0..391c18374f 100644 --- a/hw/xfree86/int10/xf86int10module.c +++ b/hw/xfree86/int10/xf86int10module.c @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86str.h" #include "xf86Pci.h" diff --git a/hw/xfree86/int10/xf86x86emu.c b/hw/xfree86/int10/xf86x86emu.c index ffee4fb9a6..c15a5f9bed 100644 --- a/hw/xfree86/int10/xf86x86emu.c +++ b/hw/xfree86/int10/xf86x86emu.c @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/int10/xf86x86emu.h b/hw/xfree86/int10/xf86x86emu.h index 27ff6fc142..a7eb6d3c70 100644 --- a/hw/xfree86/int10/xf86x86emu.h +++ b/hw/xfree86/int10/xf86x86emu.h @@ -4,6 +4,10 @@ * execute BIOS int 10h calls in x86 real mode environment * Copyright 1999 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XF86X86EMU_H_ #define XF86X86EMU_H_ #include diff --git a/hw/xfree86/loader/aout.h b/hw/xfree86/loader/aout.h index 3f60f37d77..6b82471196 100644 --- a/hw/xfree86/loader/aout.h +++ b/hw/xfree86/loader/aout.h @@ -32,6 +32,10 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _AOUT_H #define _AOUT_H diff --git a/hw/xfree86/loader/aoutloader.c b/hw/xfree86/loader/aoutloader.c index a79375abcb..a000862aeb 100644 --- a/hw/xfree86/loader/aoutloader.c +++ b/hw/xfree86/loader/aoutloader.c @@ -25,6 +25,10 @@ * * Modified 21/02/97 by Sebastien Marineau to support OS/2 a.out objects */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/loader/aoutloader.h b/hw/xfree86/loader/aoutloader.h index 7aeaf41fe2..f906816f79 100644 --- a/hw/xfree86/loader/aoutloader.h +++ b/hw/xfree86/loader/aoutloader.h @@ -21,6 +21,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/aoutloader.h,v 1.3 1998/09/20 14:41:03 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _AOUTLOADER_H #define _AOUTLOADER_H extern void *AOUTLoadModule(loaderPtr, int, LOOKUP **); diff --git a/hw/xfree86/loader/ar.h b/hw/xfree86/loader/ar.h index 3129d1c72b..c9ae558cf6 100644 --- a/hw/xfree86/loader/ar.h +++ b/hw/xfree86/loader/ar.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/ar.h,v 1.3 1998/07/25 16:56:12 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _AR_H #define _AR_H diff --git a/hw/xfree86/loader/coff.h b/hw/xfree86/loader/coff.h index 54a8cb57fd..b3cecdfbe6 100644 --- a/hw/xfree86/loader/coff.h +++ b/hw/xfree86/loader/coff.h @@ -16,6 +16,10 @@ COFF, thein check out the book mentioned above. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _COFF_H #define _COFF_H diff --git a/hw/xfree86/loader/coffloader.c b/hw/xfree86/loader/coffloader.c index 366bf6eaf9..32a229d2f4 100644 --- a/hw/xfree86/loader/coffloader.c +++ b/hw/xfree86/loader/coffloader.c @@ -22,6 +22,10 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/loader/coffloader.h b/hw/xfree86/loader/coffloader.h index 3d67284811..75cd542c82 100644 --- a/hw/xfree86/loader/coffloader.h +++ b/hw/xfree86/loader/coffloader.h @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/coffloader.h,v 1.3 1998/09/20 14:41:04 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _COFFLOADER_H #define _COFFLOADER_H /* coffloader.c */ diff --git a/hw/xfree86/loader/dixsym.c b/hw/xfree86/loader/dixsym.c index b1997cd404..4e57d2e155 100644 --- a/hw/xfree86/loader/dixsym.c +++ b/hw/xfree86/loader/dixsym.c @@ -51,6 +51,10 @@ */ #undef DBMALLOC +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "sym.h" #include "colormap.h" #include "cursor.h" diff --git a/hw/xfree86/loader/dlloader.c b/hw/xfree86/loader/dlloader.c index a089ba5483..719b7b3140 100644 --- a/hw/xfree86/loader/dlloader.c +++ b/hw/xfree86/loader/dlloader.c @@ -25,6 +25,10 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/loader/dlloader.h b/hw/xfree86/loader/dlloader.h index 51f0520e66..1dfae274d8 100644 --- a/hw/xfree86/loader/dlloader.h +++ b/hw/xfree86/loader/dlloader.h @@ -21,6 +21,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/dlloader.h,v 1.2 1998/07/25 16:56:14 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _DLLOADER_H #define _DLLOADER_H extern void *DLLoadModule(loaderPtr, int, LOOKUP **); diff --git a/hw/xfree86/loader/elf.h b/hw/xfree86/loader/elf.h index 51322a9e7d..c53796cb6e 100644 --- a/hw/xfree86/loader/elf.h +++ b/hw/xfree86/loader/elf.h @@ -115,6 +115,10 @@ typedef struct dynamic64 { } d_un; } Elf64_Dyn; +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef QNX4 extern Elf32_Dyn _DYNAMIC[]; #endif diff --git a/hw/xfree86/loader/elfloader.c b/hw/xfree86/loader/elfloader.c index 173695006e..0275aa037b 100644 --- a/hw/xfree86/loader/elfloader.c +++ b/hw/xfree86/loader/elfloader.c @@ -23,6 +23,10 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #ifndef __UNIXOS2__ #include diff --git a/hw/xfree86/loader/elfloader.h b/hw/xfree86/loader/elfloader.h index 0a42d70602..6e9f02ca46 100644 --- a/hw/xfree86/loader/elfloader.h +++ b/hw/xfree86/loader/elfloader.h @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/elfloader.h,v 1.3 1998/09/20 14:41:05 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _ELFLOADER_H #define _ELFLOADER_H /* elfloader.c */ diff --git a/hw/xfree86/loader/extsym.c b/hw/xfree86/loader/extsym.c index f53da6e3a7..0966466fd7 100644 --- a/hw/xfree86/loader/extsym.c +++ b/hw/xfree86/loader/extsym.c @@ -25,6 +25,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "resource.h" #include "sym.h" #include diff --git a/hw/xfree86/loader/fontsym.c b/hw/xfree86/loader/fontsym.c index 1a1324fdbc..5daf828026 100644 --- a/hw/xfree86/loader/fontsym.c +++ b/hw/xfree86/loader/fontsym.c @@ -26,17 +26,21 @@ * authorization from the copyright holder(s) and author(s). */ -#include "font.h" -#include "sym.h" -#include "fntfilst.h" -#include "fontenc.h" -#ifdef FONTENC_COMPATIBILITY -#include "fontencc.h" +#ifdef HAVE_XORG_CONFIG_H +#include #endif -#include "fntfilio.h" -#include "fntfil.h" -#include "fontutil.h" -#include "fontxlfd.h" + +#include +#include "sym.h" +#include +#include +#ifdef FONTENC_COMPATIBILITY +#include +#endif +#include +#include +#include +#include #ifdef FONTCACHE #define _FONTCACHE_SERVER_ #include "fontcache.h" diff --git a/hw/xfree86/loader/hash.c b/hw/xfree86/loader/hash.c index d424f04613..9cd4e6eb89 100644 --- a/hw/xfree86/loader/hash.c +++ b/hw/xfree86/loader/hash.c @@ -24,6 +24,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #undef abs diff --git a/hw/xfree86/loader/hash.h b/hw/xfree86/loader/hash.h index 88b525669a..45617bd5f3 100644 --- a/hw/xfree86/loader/hash.h +++ b/hw/xfree86/loader/hash.h @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/loader/hash.h,v 1.2.2.2 1998/07/04 13:32:45 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _HASH_H #define _HASH_H diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c index 4e47295262..471510a309 100644 --- a/hw/xfree86/loader/loader.c +++ b/hw/xfree86/loader/loader.c @@ -48,6 +48,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/loader/loader.h b/hw/xfree86/loader/loader.h index f48aadb02c..307b9bb48a 100644 --- a/hw/xfree86/loader/loader.h +++ b/hw/xfree86/loader/loader.h @@ -49,6 +49,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _LOADER_H #define _LOADER_H diff --git a/hw/xfree86/loader/loaderProcs.h b/hw/xfree86/loader/loaderProcs.h index d2779812fb..72591a5df0 100644 --- a/hw/xfree86/loader/loaderProcs.h +++ b/hw/xfree86/loader/loaderProcs.h @@ -49,12 +49,16 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _LOADERPROCS_H #define _LOADERPROCS_H #define IN_LOADER #include "xf86Module.h" -#include "fontmod.h" +#include typedef struct module_desc { struct module_desc *child; diff --git a/hw/xfree86/loader/loadext.c b/hw/xfree86/loader/loadext.c index 705460eb9a..fb0affebad 100644 --- a/hw/xfree86/loader/loadext.c +++ b/hw/xfree86/loader/loadext.c @@ -29,6 +29,10 @@ /* Maybe this file belongs elsewhere? */ #define LOADERDECLARATIONS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "loaderProcs.h" #include #include "xf86.h" diff --git a/hw/xfree86/loader/loadfont.c b/hw/xfree86/loader/loadfont.c index 69a16ac801..f9bbbfeb4e 100644 --- a/hw/xfree86/loader/loadfont.c +++ b/hw/xfree86/loader/loadfont.c @@ -29,6 +29,10 @@ /* Maybe this file belongs in lib/font/fontfile/module/ ? */ #define LOADERDECLARATIONS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "loaderProcs.h" #include #include "xf86.h" diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index b3c9f736be..48220719b2 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -49,6 +49,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include /* For stat() and related stuff */ #define NO_OSLIB_PROTOTYPES diff --git a/hw/xfree86/loader/misym.c b/hw/xfree86/loader/misym.c index 5977546b8d..29d6a2f899 100644 --- a/hw/xfree86/loader/misym.c +++ b/hw/xfree86/loader/misym.c @@ -51,6 +51,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "sym.h" #include #include "mi.h" diff --git a/hw/xfree86/loader/os.c b/hw/xfree86/loader/os.c index 49f9c0d845..010730586b 100644 --- a/hw/xfree86/loader/os.c +++ b/hw/xfree86/loader/os.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "loaderProcs.h" /* diff --git a/hw/xfree86/loader/sym.h b/hw/xfree86/loader/sym.h index 0e18959c3b..5b34718d6f 100644 --- a/hw/xfree86/loader/sym.h +++ b/hw/xfree86/loader/sym.h @@ -23,6 +23,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _SYM_H #define _SYM_H diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c index ee71f4ff8a..de7e638bbf 100644 --- a/hw/xfree86/loader/xf86sym.c +++ b/hw/xfree86/loader/xf86sym.c @@ -51,6 +51,10 @@ #define INCLUDE_DEPRECATED 1 +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "sym.h" diff --git a/hw/xfree86/os-support/assyntax.h b/hw/xfree86/os-support/assyntax.h index 191c7e49e0..1cf84353b4 100644 --- a/hw/xfree86/os-support/assyntax.h +++ b/hw/xfree86/os-support/assyntax.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/assyntax.h,v 3.13 2003/08/24 17:37:03 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef __ASSYNTAX_H__ #define __ASSYNTAX_H__ diff --git a/hw/xfree86/os-support/bsd/alpha_video.c b/hw/xfree86/os-support/bsd/alpha_video.c index 5b7b35b407..0ed261061d 100644 --- a/hw/xfree86/os-support/bsd/alpha_video.c +++ b/hw/xfree86/os-support/bsd/alpha_video.c @@ -26,6 +26,10 @@ /* $XConsortium: bsd_video.c /main/10 1996/10/25 11:37:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/arm_video.c b/hw/xfree86/os-support/bsd/arm_video.c index b52b85425c..98fb8f9936 100644 --- a/hw/xfree86/os-support/bsd/arm_video.c +++ b/hw/xfree86/os-support/bsd/arm_video.c @@ -59,6 +59,10 @@ /* $XConsortium: bsd_video.c /main/10 1996/10/25 11:37:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/bsdResource.c b/hw/xfree86/os-support/bsd/bsdResource.c index 5ac2e08b5e..d38230a83e 100644 --- a/hw/xfree86/os-support/bsd/bsdResource.c +++ b/hw/xfree86/os-support/bsd/bsdResource.c @@ -2,6 +2,10 @@ /* Resource information code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/bsd_KbdMap.c b/hw/xfree86/os-support/bsd/bsd_KbdMap.c index fcff3d6e77..d225c1f382 100644 --- a/hw/xfree86/os-support/bsd/bsd_KbdMap.c +++ b/hw/xfree86/os-support/bsd/bsd_KbdMap.c @@ -8,6 +8,10 @@ * and from xf86KbdCODrv.c by Holger Veit */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/os-support/bsd/bsd_VTsw.c b/hw/xfree86/os-support/bsd/bsd_VTsw.c index 3c3170fe1a..d97782dc6a 100644 --- a/hw/xfree86/os-support/bsd/bsd_VTsw.c +++ b/hw/xfree86/os-support/bsd/bsd_VTsw.c @@ -25,6 +25,10 @@ */ /* $XConsortium: bsd_VTsw.c /main/4 1996/02/21 17:50:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/bsd_apm.c b/hw/xfree86/os-support/bsd/bsd_apm.c index ef442b4f7b..3554edddc8 100644 --- a/hw/xfree86/os-support/bsd/bsd_apm.c +++ b/hw/xfree86/os-support/bsd/bsd_apm.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/bsd/bsd_axp.c b/hw/xfree86/os-support/bsd/bsd_axp.c index 77a2a79a8a..8328e5115f 100644 --- a/hw/xfree86/os-support/bsd/bsd_axp.c +++ b/hw/xfree86/os-support/bsd/bsd_axp.c @@ -1,5 +1,9 @@ /* $XFree86: bsd_axp.c,v 1.2 2002/10/29 23:19:13 herrb Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/bsd/bsd_ev56.c b/hw/xfree86/os-support/bsd/bsd_ev56.c index a46c616daf..62952a343f 100644 --- a/hw/xfree86/os-support/bsd/bsd_ev56.c +++ b/hw/xfree86/os-support/bsd/bsd_ev56.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/bsd_ev56.c,v 1.1 2000/03/05 16:59:17 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index 02e7825b45..3cdea419b3 100644 --- a/hw/xfree86/os-support/bsd/bsd_init.c +++ b/hw/xfree86/os-support/bsd/bsd_init.c @@ -25,6 +25,10 @@ */ /* $XConsortium: bsd_init.c /main/8 1996/10/23 13:13:05 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/bsd/bsd_io.c b/hw/xfree86/os-support/bsd/bsd_io.c index e44629f89c..8177499882 100644 --- a/hw/xfree86/os-support/bsd/bsd_io.c +++ b/hw/xfree86/os-support/bsd/bsd_io.c @@ -26,6 +26,10 @@ /* $XConsortium: bsd_io.c /main/11 1996/10/19 18:06:07 kaleb $ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/bsd/bsd_jstk.c b/hw/xfree86/os-support/bsd/bsd_jstk.c index 71bc916878..acd9fc1111 100644 --- a/hw/xfree86/os-support/bsd/bsd_jstk.c +++ b/hw/xfree86/os-support/bsd/bsd_jstk.c @@ -25,6 +25,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/bsd_jstk.c,v 3.7 1998/07/25 16:56:34 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/bsd/bsd_kbd.c b/hw/xfree86/os-support/bsd/bsd_kbd.c index 4cf2fbaaec..461646c4a6 100644 --- a/hw/xfree86/os-support/bsd/bsd_kbd.c +++ b/hw/xfree86/os-support/bsd/bsd_kbd.c @@ -10,6 +10,10 @@ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/bsd/bsd_kmod.c b/hw/xfree86/os-support/bsd/bsd_kmod.c index 74345654b5..ecaf780286 100644 --- a/hw/xfree86/os-support/bsd/bsd_kmod.c +++ b/hw/xfree86/os-support/bsd/bsd_kmod.c @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/bsd_kmod.c,v 3.2 2002/11/29 17:47:24 tsi Exp $ */ +/* $XFree86$ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include #include diff --git a/hw/xfree86/os-support/bsd/bsd_kqueue_apm.c b/hw/xfree86/os-support/bsd/bsd_kqueue_apm.c index 07cc55f54d..06544eedfa 100644 --- a/hw/xfree86/os-support/bsd/bsd_kqueue_apm.c +++ b/hw/xfree86/os-support/bsd/bsd_kqueue_apm.c @@ -28,6 +28,10 @@ */ /* $OpenBSD: bsd_kqueue_apm.c,v 1.5 2002/07/30 23:07:42 matthieu Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/bsd/bsd_mouse.c b/hw/xfree86/os-support/bsd/bsd_mouse.c index a830b60c06..daf48fbc09 100644 --- a/hw/xfree86/os-support/bsd/bsd_mouse.c +++ b/hw/xfree86/os-support/bsd/bsd_mouse.c @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c index 54b4c88486..1515d0e1ef 100644 --- a/hw/xfree86/os-support/bsd/i386_video.c +++ b/hw/xfree86/os-support/bsd/i386_video.c @@ -26,6 +26,10 @@ /* $XConsortium: bsd_video.c /main/10 1996/10/25 11:37:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/libusb/data.c b/hw/xfree86/os-support/bsd/libusb/data.c index bb84e5566e..0ac1a63bc9 100644 --- a/hw/xfree86/os-support/bsd/libusb/data.c +++ b/hw/xfree86/os-support/bsd/libusb/data.c @@ -25,7 +25,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/data.c,v 1.1 2000/02/11 18:06:49 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/libusb/data.c,v 1.1.2.2 1999/12/03 10:12:41 hohndel Exp $ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include #include diff --git a/hw/xfree86/os-support/bsd/libusb/descr.c b/hw/xfree86/os-support/bsd/libusb/descr.c index f754189645..2306d2f585 100644 --- a/hw/xfree86/os-support/bsd/libusb/descr.c +++ b/hw/xfree86/os-support/bsd/libusb/descr.c @@ -25,7 +25,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/descr.c,v 1.1 2000/02/11 18:06:50 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/libusb/descr.c,v 1.1.2.2 1999/12/03 10:12:42 hohndel Exp $ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include diff --git a/hw/xfree86/os-support/bsd/libusb/parse.c b/hw/xfree86/os-support/bsd/libusb/parse.c index 8c1a8b8a29..feff9779ad 100644 --- a/hw/xfree86/os-support/bsd/libusb/parse.c +++ b/hw/xfree86/os-support/bsd/libusb/parse.c @@ -25,7 +25,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/parse.c,v 1.1 2000/02/11 18:06:50 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/libusb/parse.c,v 1.1.2.2 1999/12/03 10:12:42 hohndel Exp $ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include #include diff --git a/hw/xfree86/os-support/bsd/libusb/usage.c b/hw/xfree86/os-support/bsd/libusb/usage.c index 9338e61d46..f909ee6913 100644 --- a/hw/xfree86/os-support/bsd/libusb/usage.c +++ b/hw/xfree86/os-support/bsd/libusb/usage.c @@ -25,7 +25,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/usage.c,v 1.1 2000/02/11 18:06:50 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/libusb/usage.c,v 1.1.2.2 1999/12/03 10:12:42 hohndel Exp $ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include #include diff --git a/hw/xfree86/os-support/bsd/memrange.h b/hw/xfree86/os-support/bsd/memrange.h index 99be9ea2f5..0f4b270f4a 100644 --- a/hw/xfree86/os-support/bsd/memrange.h +++ b/hw/xfree86/os-support/bsd/memrange.h @@ -3,7 +3,11 @@ * * $FreeBSD: src/sys/sys/memrange.h,v 1.4 1999/12/29 04:24:44 peter Exp $ */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bsd/memrange.h,v 1.1 2002/08/06 13:25:36 herrb Exp $ */ +/* $XFree86$ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #ifndef _MEMRANGE_H #define _MEMRANGE_H diff --git a/hw/xfree86/os-support/bsd/ppc_video.c b/hw/xfree86/os-support/bsd/ppc_video.c index e2550bf86a..edcb20c1b4 100644 --- a/hw/xfree86/os-support/bsd/ppc_video.c +++ b/hw/xfree86/os-support/bsd/ppc_video.c @@ -26,6 +26,10 @@ /* $XConsortium: bsd_video.c /main/10 1996/10/25 11:37:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bsd/sparc64_video.c b/hw/xfree86/os-support/bsd/sparc64_video.c index f73c301822..d9dfcca317 100644 --- a/hw/xfree86/os-support/bsd/sparc64_video.c +++ b/hw/xfree86/os-support/bsd/sparc64_video.c @@ -27,6 +27,10 @@ /* $XConsortium: bsd_video.c /main/10 1996/10/25 11:37:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/bus/460gxPCI.c b/hw/xfree86/os-support/bus/460gxPCI.c index 9855b8b419..255dfa12fe 100644 --- a/hw/xfree86/os-support/bus/460gxPCI.c +++ b/hw/xfree86/os-support/bus/460gxPCI.c @@ -29,6 +29,10 @@ * This file contains the glue necessary for support of Intel's 460GX chipset. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "460gxPCI.h" #include "xf86.h" #include "Pci.h" diff --git a/hw/xfree86/os-support/bus/460gxPCI.h b/hw/xfree86/os-support/bus/460gxPCI.h index 9459705d0b..65a19b2f00 100644 --- a/hw/xfree86/os-support/bus/460gxPCI.h +++ b/hw/xfree86/os-support/bus/460gxPCI.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef PCI_460GX_H #define PCI_460GX_H 1 diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index c1c08569e5..d837ec92e1 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -195,6 +195,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h index 4a6ff672ad..ee6e9d7235 100644 --- a/hw/xfree86/os-support/bus/Pci.h +++ b/hw/xfree86/os-support/bus/Pci.h @@ -101,6 +101,10 @@ * This file has the private Pci definitions. The public ones are imported * from xf86Pci.h. Drivers should not use this file. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _PCI_H #define _PCI_H 1 diff --git a/hw/xfree86/os-support/bus/Sbus.c b/hw/xfree86/os-support/bus/Sbus.c index efe5c4ba62..168bc669ee 100644 --- a/hw/xfree86/os-support/bus/Sbus.c +++ b/hw/xfree86/os-support/bus/Sbus.c @@ -22,6 +22,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/Sbus.c,v 1.2tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/bus/altixPCI.c b/hw/xfree86/os-support/bus/altixPCI.c index c2c21d39f1..010f6619a8 100644 --- a/hw/xfree86/os-support/bus/altixPCI.c +++ b/hw/xfree86/os-support/bus/altixPCI.c @@ -1,6 +1,10 @@ /* * This file contains the glue necessary for support of SGI's Altix chipset. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "altixPCI.h" diff --git a/hw/xfree86/os-support/bus/altixPCI.h b/hw/xfree86/os-support/bus/altixPCI.h index 1d449d55b1..2a738f362d 100644 --- a/hw/xfree86/os-support/bus/altixPCI.h +++ b/hw/xfree86/os-support/bus/altixPCI.h @@ -1,3 +1,7 @@ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef PCI_ALTIX_H #define PCI_ALTIX_H 1 diff --git a/hw/xfree86/os-support/bus/axpPci.c b/hw/xfree86/os-support/bus/axpPci.c index 04ff8b9567..08c7fbd39b 100644 --- a/hw/xfree86/os-support/bus/axpPci.c +++ b/hw/xfree86/os-support/bus/axpPci.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/axpPci.c,v 1.15 2002/12/12 04:12:02 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/axpPci.c,v 1.14 2002/12/11 02:44:28 dawes Exp $ */ /* * Copyright 1998 by Concurrent Computer Corporation * @@ -45,6 +45,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" #include "xf86.h" diff --git a/hw/xfree86/os-support/bus/e8870PCI.c b/hw/xfree86/os-support/bus/e8870PCI.c index 9eb34a67a9..65b0c04743 100644 --- a/hw/xfree86/os-support/bus/e8870PCI.c +++ b/hw/xfree86/os-support/bus/e8870PCI.c @@ -29,6 +29,10 @@ * This file contains the glue necessary for support of Intel's E8870 chipset. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "e8870PCI.h" #include "xf86.h" #include "Pci.h" diff --git a/hw/xfree86/os-support/bus/e8870PCI.h b/hw/xfree86/os-support/bus/e8870PCI.h index 2d16077ac5..9efa0ed6dd 100644 --- a/hw/xfree86/os-support/bus/e8870PCI.h +++ b/hw/xfree86/os-support/bus/e8870PCI.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef PCI_E8870_H #define PCI_E8870_H 1 diff --git a/hw/xfree86/os-support/bus/freebsdPci.c b/hw/xfree86/os-support/bus/freebsdPci.c index c3e621dafc..f6d6f8a6dc 100644 --- a/hw/xfree86/os-support/bus/freebsdPci.c +++ b/hw/xfree86/os-support/bus/freebsdPci.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/freebsdPci.c,v 1.5 2002/08/27 22:07:07 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/freebsdPci.c,v 1.4 2002/07/24 19:06:52 tsi Exp $ */ /* * Copyright 1998 by Concurrent Computer Corporation * @@ -45,6 +45,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" #include "xf86.h" @@ -84,7 +88,7 @@ static pciBusInfo_t freebsdPci0 = { /* bridge */ NULL }; -#if !defined(__OpenBSD__) +#if !defined(__OpenBSD__) && !defined(__FreeBSD__) #if X_BYTE_ORDER == X_BIG_ENDIAN #ifdef __sparc__ #ifndef ASI_PL diff --git a/hw/xfree86/os-support/bus/ix86Pci.c b/hw/xfree86/os-support/bus/ix86Pci.c index 99e3ba2450..6e2b650d17 100644 --- a/hw/xfree86/os-support/bus/ix86Pci.c +++ b/hw/xfree86/os-support/bus/ix86Pci.c @@ -136,6 +136,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" #include "xf86.h" diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index 32e11e4ebc..2a21aa3eac 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -45,6 +45,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" #include "xf86.h" diff --git a/hw/xfree86/os-support/bus/netbsdPci.c b/hw/xfree86/os-support/bus/netbsdPci.c index 9c46ee3d30..7dbbfdec7d 100644 --- a/hw/xfree86/os-support/bus/netbsdPci.c +++ b/hw/xfree86/os-support/bus/netbsdPci.c @@ -27,6 +27,10 @@ * authorization from the XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/bus/ppcPci.c b/hw/xfree86/os-support/bus/ppcPci.c index 1be10ab9ba..7a438af671 100644 --- a/hw/xfree86/os-support/bus/ppcPci.c +++ b/hw/xfree86/os-support/bus/ppcPci.c @@ -58,6 +58,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" #include "xf86.h" diff --git a/hw/xfree86/os-support/bus/sparcPci.c b/hw/xfree86/os-support/bus/sparcPci.c index 2ada6fd47c..48e10ede4a 100644 --- a/hw/xfree86/os-support/bus/sparcPci.c +++ b/hw/xfree86/os-support/bus/sparcPci.c @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Priv.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/bus/xf86Pci.h b/hw/xfree86/os-support/bus/xf86Pci.h index d1284dc448..f0ab4307a9 100644 --- a/hw/xfree86/os-support/bus/xf86Pci.h +++ b/hw/xfree86/os-support/bus/xf86Pci.h @@ -102,6 +102,10 @@ * Drivers should use this file rather than Pci.h. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86PCI_H #define _XF86PCI_H 1 #include diff --git a/hw/xfree86/os-support/bus/xf86Sbus.h b/hw/xfree86/os-support/bus/xf86Sbus.h index 1ff4432b43..21b05cba4d 100644 --- a/hw/xfree86/os-support/bus/xf86Sbus.h +++ b/hw/xfree86/os-support/bus/xf86Sbus.h @@ -22,6 +22,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h,v 1.3 2001/04/20 17:02:43 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_SBUS_H #define _XF86_SBUS_H diff --git a/hw/xfree86/os-support/bus/zx1PCI.c b/hw/xfree86/os-support/bus/zx1PCI.c index 16f1b40a53..3d219c86f1 100644 --- a/hw/xfree86/os-support/bus/zx1PCI.c +++ b/hw/xfree86/os-support/bus/zx1PCI.c @@ -31,6 +31,10 @@ * architectures. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "zx1PCI.h" #include "xf86.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/bus/zx1PCI.h b/hw/xfree86/os-support/bus/zx1PCI.h index f46a68a303..2795b44591 100644 --- a/hw/xfree86/os-support/bus/zx1PCI.h +++ b/hw/xfree86/os-support/bus/zx1PCI.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef PCI_ZX1_H #define PCI_ZX1_H 1 diff --git a/hw/xfree86/os-support/drm/drmmodule.c b/hw/xfree86/os-support/drm/drmmodule.c index 8be822445b..fd751e7564 100644 --- a/hw/xfree86/os-support/drm/drmmodule.c +++ b/hw/xfree86/os-support/drm/drmmodule.c @@ -25,10 +25,14 @@ * * Authors: Rickard E. (Rik) Faith * - * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/drmmodule.c,v 1.3 2000/06/17 00:03:34 martin Exp $ + * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/drmmodule.c,v 1.2 2000/02/23 04:47:22 martin Exp $ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Module.h" static MODULESETUPPROTO(drmSetup); @@ -39,7 +43,7 @@ static XF86ModuleVersionInfo VersRec = MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, - XF86_VERSION_CURRENT, + XORG_VERSION_CURRENT, 1, 0, 0, ABI_CLASS_EXTENSION, ABI_EXTENSION_VERSION, diff --git a/hw/xfree86/os-support/int10Defines.h b/hw/xfree86/os-support/int10Defines.h index 77d2f4db9c..56e10cf67f 100644 --- a/hw/xfree86/os-support/int10Defines.h +++ b/hw/xfree86/os-support/int10Defines.h @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _INT10DEFINES_H_ #define _INT10DEFINES_H_ 1 diff --git a/hw/xfree86/os-support/linux/int10/linux.c b/hw/xfree86/os-support/linux/int10/linux.c index b010049316..b8e821cd15 100644 --- a/hw/xfree86/os-support/linux/int10/linux.c +++ b/hw/xfree86/os-support/linux/int10/linux.c @@ -3,6 +3,10 @@ * linux specific part of the int10 module * Copyright 1999, 2000, 2001, 2002, 2003, 2004 Egbert Eich */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/os-support/linux/int10/vm86/linux_vm86.c b/hw/xfree86/os-support/linux/int10/vm86/linux_vm86.c index dcde018ca2..e99cde8da2 100644 --- a/hw/xfree86/os-support/linux/int10/vm86/linux_vm86.c +++ b/hw/xfree86/os-support/linux/int10/vm86/linux_vm86.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/os-support/linux/lnx.h b/hw/xfree86/os-support/linux/lnx.h index c3ccef2801..68ad340117 100644 --- a/hw/xfree86/os-support/linux/lnx.h +++ b/hw/xfree86/os-support/linux/lnx.h @@ -1,5 +1,9 @@ /* $XFree86: Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef LNX_H_ # ifdef __alpha__ extern unsigned long _bus_base __P ((void)) __attribute__ ((const)); diff --git a/hw/xfree86/os-support/linux/lnxResource.c b/hw/xfree86/os-support/linux/lnxResource.c index 3b29618aae..690d3bc8f1 100644 --- a/hw/xfree86/os-support/linux/lnxResource.c +++ b/hw/xfree86/os-support/linux/lnxResource.c @@ -2,6 +2,10 @@ /* Resource information code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/linux/lnx_KbdMap.c b/hw/xfree86/os-support/linux/lnx_KbdMap.c index 61b2e12b5e..f781aaba03 100644 --- a/hw/xfree86/os-support/linux/lnx_KbdMap.c +++ b/hw/xfree86/os-support/linux/lnx_KbdMap.c @@ -6,6 +6,10 @@ * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "input.h" diff --git a/hw/xfree86/os-support/linux/lnx_agp.c b/hw/xfree86/os-support/linux/lnx_agp.c index 316d4ecb2b..7a2b0606b2 100644 --- a/hw/xfree86/os-support/linux/lnx_agp.c +++ b/hw/xfree86/os-support/linux/lnx_agp.c @@ -9,6 +9,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c,v 3.11 2003/04/03 22:47:42 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/linux/lnx_apm.c b/hw/xfree86/os-support/linux/lnx_apm.c index 44dcb1198c..9a50947f53 100644 --- a/hw/xfree86/os-support/linux/lnx_apm.c +++ b/hw/xfree86/os-support/linux/lnx_apm.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c,v 3.12 2001/12/24 22:54:31 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/linux/lnx_axp.c b/hw/xfree86/os-support/linux/lnx_axp.c index d408d16234..b479ca8ed8 100644 --- a/hw/xfree86/os-support/linux/lnx_axp.c +++ b/hw/xfree86/os-support/linux/lnx_axp.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_axp.c,v 1.3 2001/02/15 11:03:56 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/linux/lnx_ev56.c b/hw/xfree86/os-support/linux/lnx_ev56.c index 05c1dd0971..63077e9071 100644 --- a/hw/xfree86/os-support/linux/lnx_ev56.c +++ b/hw/xfree86/os-support/linux/lnx_ev56.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_ev56.c,v 3.5 2000/02/17 13:45:49 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/linux/lnx_font.c b/hw/xfree86/os-support/linux/lnx_font.c index d809f97af3..e9a5b6aef5 100644 --- a/hw/xfree86/os-support/linux/lnx_font.c +++ b/hw/xfree86/os-support/linux/lnx_font.c @@ -23,6 +23,10 @@ *ings in this Software without prior written authorization from Egbert Eich. * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/os-support/linux/lnx_ia64.c b/hw/xfree86/os-support/linux/lnx_ia64.c index 06f2be777f..cc9448f74a 100644 --- a/hw/xfree86/os-support/linux/lnx_ia64.c +++ b/hw/xfree86/os-support/linux/lnx_ia64.c @@ -24,6 +24,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c index 0bd33aea78..842d9a0755 100644 --- a/hw/xfree86/os-support/linux/lnx_init.c +++ b/hw/xfree86/os-support/linux/lnx_init.c @@ -26,6 +26,10 @@ */ /* $XConsortium: lnx_init.c /main/7 1996/10/23 18:46:30 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/os-support/linux/lnx_io.c b/hw/xfree86/os-support/linux/lnx_io.c index 5de501ae83..8d1fb456b1 100644 --- a/hw/xfree86/os-support/linux/lnx_io.c +++ b/hw/xfree86/os-support/linux/lnx_io.c @@ -26,6 +26,10 @@ /* $XConsortium: lnx_io.c /main/8 1996/10/19 18:06:28 kaleb $ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/linux/lnx_jstk.c b/hw/xfree86/os-support/linux/lnx_jstk.c index 2423bd45ef..dafdc0594e 100644 --- a/hw/xfree86/os-support/linux/lnx_jstk.c +++ b/hw/xfree86/os-support/linux/lnx_jstk.c @@ -23,10 +23,14 @@ * */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_jstk.c,v 3.13 1998/07/25 16:56:43 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_jstk.c,v 3.8.2.1 1998/06/05 16:23:12 dawes Exp $ */ static const char rcs_id[] = "Id: lnx_jstk.c,v 1.1 1995/12/20 14:06:09 lepied Exp"; +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/linux/lnx_kbd.c b/hw/xfree86/os-support/linux/lnx_kbd.c index aa959b9275..dd6773fff3 100644 --- a/hw/xfree86/os-support/linux/lnx_kbd.c +++ b/hw/xfree86/os-support/linux/lnx_kbd.c @@ -10,6 +10,10 @@ */ #define NEED_EVENTS +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/linux/lnx_kmod.c b/hw/xfree86/os-support/linux/lnx_kmod.c index 0cb69b2091..c211d115ad 100644 --- a/hw/xfree86/os-support/linux/lnx_kmod.c +++ b/hw/xfree86/os-support/linux/lnx_kmod.c @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kmod.c,v 3.6 2001/10/31 22:50:30 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kmod.c,v 3.5 2001/10/01 13:44:14 eich Exp $ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #include #include diff --git a/hw/xfree86/os-support/linux/lnx_mouse.c b/hw/xfree86/os-support/linux/lnx_mouse.c index a03e2f7472..d73c698535 100644 --- a/hw/xfree86/os-support/linux/lnx_mouse.c +++ b/hw/xfree86/os-support/linux/lnx_mouse.c @@ -4,6 +4,10 @@ * Copyright 1999 by The XFree86 Project, Inc. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Xinput.h" diff --git a/hw/xfree86/os-support/linux/lnx_pci.c b/hw/xfree86/os-support/linux/lnx_pci.c index 6b5bfa9994..a20298ed4a 100644 --- a/hw/xfree86/os-support/linux/lnx_pci.c +++ b/hw/xfree86/os-support/linux/lnx_pci.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_pci.c,v 3.8 2002/04/09 15:59:37 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c index cd19f109a0..371295ffd1 100644 --- a/hw/xfree86/os-support/linux/lnx_video.c +++ b/hw/xfree86/os-support/linux/lnx_video.c @@ -25,6 +25,10 @@ */ /* $XConsortium: lnx_video.c /main/9 1996/10/19 18:06:34 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/lynxos/lynx_init.c b/hw/xfree86/os-support/lynxos/lynx_init.c index 36d88a434a..84db50127b 100644 --- a/hw/xfree86/os-support/lynxos/lynx_init.c +++ b/hw/xfree86/os-support/lynxos/lynx_init.c @@ -24,6 +24,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_init.c,v 3.2 1998/07/25 16:56:45 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/os-support/lynxos/lynx_io.c b/hw/xfree86/os-support/lynxos/lynx_io.c index 364f9ee4db..afd3f89622 100644 --- a/hw/xfree86/os-support/lynxos/lynx_io.c +++ b/hw/xfree86/os-support/lynxos/lynx_io.c @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_io.c,v 3.9 2002/10/11 01:40:35 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/lynxos/lynx_mmap.c b/hw/xfree86/os-support/lynxos/lynx_mmap.c index 989ee8aab2..c00b6700f0 100644 --- a/hw/xfree86/os-support/lynxos/lynx_mmap.c +++ b/hw/xfree86/os-support/lynxos/lynx_mmap.c @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_mmap.c,v 3.5 1998/08/29 05:43:58 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/os-support/lynxos/lynx_mouse.c b/hw/xfree86/os-support/lynxos/lynx_mouse.c index 2edb147fe5..68aca5d389 100644 --- a/hw/xfree86/os-support/lynxos/lynx_mouse.c +++ b/hw/xfree86/os-support/lynxos/lynx_mouse.c @@ -4,6 +4,10 @@ * Copyright 1999 by The XFree86 Project, Inc. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Xinput.h" diff --git a/hw/xfree86/os-support/lynxos/lynx_noinline.c b/hw/xfree86/os-support/lynxos/lynx_noinline.c index 858b0eb650..1c12f62f9c 100644 --- a/hw/xfree86/os-support/lynxos/lynx_noinline.c +++ b/hw/xfree86/os-support/lynxos/lynx_noinline.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_noinline.c,v 3.6 2002/01/25 21:56:20 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_noinline.c,v 3.5 2000/07/31 23:25:18 tsi Exp $ */ /* * Copyright 1998 by Metro Link Incorporated * @@ -23,6 +23,10 @@ * SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if /* NO_INLINE && */ defined(__powerpc__) #include "xf86Pci.h" diff --git a/hw/xfree86/os-support/lynxos/lynx_video.c b/hw/xfree86/os-support/lynxos/lynx_video.c index d9dd43d55a..5d0949091e 100644 --- a/hw/xfree86/os-support/lynxos/lynx_video.c +++ b/hw/xfree86/os-support/lynxos/lynx_video.c @@ -23,6 +23,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_video.c,v 3.17 2000/10/28 01:42:27 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/misc/BUSmemcpy.c b/hw/xfree86/os-support/misc/BUSmemcpy.c index b4379f7beb..9ff14396cc 100644 --- a/hw/xfree86/os-support/misc/BUSmemcpy.c +++ b/hw/xfree86/os-support/misc/BUSmemcpy.c @@ -14,6 +14,10 @@ Thanks to Linus Torvalds for contributing this code. /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/BUSmemcpy.c,v 1.3 1999/12/03 19:17:44 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/misc/Delay.c b/hw/xfree86/os-support/misc/Delay.c index 1c0e5d9f2e..33d0789fda 100644 --- a/hw/xfree86/os-support/misc/Delay.c +++ b/hw/xfree86/os-support/misc/Delay.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/Delay.c,v 3.3 2000/12/08 20:13:38 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ #define I_NEED_OS2_H #endif diff --git a/hw/xfree86/os-support/misc/IODelay.c b/hw/xfree86/os-support/misc/IODelay.c index f3afcdd502..697c07f610 100644 --- a/hw/xfree86/os-support/misc/IODelay.c +++ b/hw/xfree86/os-support/misc/IODelay.c @@ -6,6 +6,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/IODelay.c,v 1.1.2.1 1998/06/04 17:35:59 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/misc/SlowBcopy.c b/hw/xfree86/os-support/misc/SlowBcopy.c index 9a105864e3..ec2c67ffa6 100644 --- a/hw/xfree86/os-support/misc/SlowBcopy.c +++ b/hw/xfree86/os-support/misc/SlowBcopy.c @@ -16,6 +16,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/misc/xf86_IlHack.c b/hw/xfree86/os-support/misc/xf86_IlHack.c index 0191563575..d8053f7d2d 100644 --- a/hw/xfree86/os-support/misc/xf86_IlHack.c +++ b/hw/xfree86/os-support/misc/xf86_IlHack.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/xf86_IlHack.c,v 3.5 1998/07/25 16:56:51 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/xf86_IlHack.c,v 3.4.4.1 1998/06/04 17:36:01 dawes Exp $ */ /* * This file is an incredible crock to get the normally-inline functions * built into the server so that things can be debugged properly. @@ -12,4 +12,8 @@ #define __inline__ /**/ #undef NO_INLINE #define DO_PROTOTYPES +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "compiler.h" diff --git a/hw/xfree86/os-support/misc/xf86_Util.c b/hw/xfree86/os-support/misc/xf86_Util.c index a94ad34cc3..9f251440aa 100644 --- a/hw/xfree86/os-support/misc/xf86_Util.c +++ b/hw/xfree86/os-support/misc/xf86_Util.c @@ -29,6 +29,10 @@ * dependencies are dealt with, as this library will be linked in last. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include /* To prevent empty source file warnings */ diff --git a/hw/xfree86/os-support/sco/VTsw_sco.c b/hw/xfree86/os-support/sco/VTsw_sco.c index 3489a0777b..e0e7912b6e 100644 --- a/hw/xfree86/os-support/sco/VTsw_sco.c +++ b/hw/xfree86/os-support/sco/VTsw_sco.c @@ -24,6 +24,10 @@ */ /* $XConsortium: VTsw_sco.c /main/2 1995/11/13 06:08:36 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/os-support/sco/sco_init.c b/hw/xfree86/os-support/sco/sco_init.c index a0c572858a..d200eccb4c 100644 --- a/hw/xfree86/os-support/sco/sco_init.c +++ b/hw/xfree86/os-support/sco/sco_init.c @@ -24,6 +24,10 @@ /* Re-written May 2001 to represent the current state of reality */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/os-support/sco/sco_io.c b/hw/xfree86/os-support/sco/sco_io.c index 18abcc8dce..fd4c9b7804 100644 --- a/hw/xfree86/os-support/sco/sco_io.c +++ b/hw/xfree86/os-support/sco/sco_io.c @@ -24,6 +24,10 @@ /* Re-written May 2001 to represent the current state of reality */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/sco/sco_iop.c b/hw/xfree86/os-support/sco/sco_iop.c index f056dcbe1c..e9bf72890f 100644 --- a/hw/xfree86/os-support/sco/sco_iop.c +++ b/hw/xfree86/os-support/sco/sco_iop.c @@ -23,6 +23,10 @@ /* $XConsortium$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/sco/sco_mouse.c b/hw/xfree86/os-support/sco/sco_mouse.c index 0df225b120..9e167852b9 100644 --- a/hw/xfree86/os-support/sco/sco_mouse.c +++ b/hw/xfree86/os-support/sco/sco_mouse.c @@ -23,6 +23,10 @@ /* $XConsortium$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/sco/sco_video.c b/hw/xfree86/os-support/sco/sco_video.c index 76d70fbd64..dd81786bb8 100644 --- a/hw/xfree86/os-support/sco/sco_video.c +++ b/hw/xfree86/os-support/sco/sco_video.c @@ -37,6 +37,10 @@ * that and adjust accordingly. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "input.h" #include "scrnintstr.h" diff --git a/hw/xfree86/os-support/shared/VTsw_noop.c b/hw/xfree86/os-support/shared/VTsw_noop.c index 795a65610d..ac8ae3b0a1 100644 --- a/hw/xfree86/os-support/shared/VTsw_noop.c +++ b/hw/xfree86/os-support/shared/VTsw_noop.c @@ -23,6 +23,10 @@ */ /* $XConsortium: VTsw_noop.c /main/3 1996/02/21 17:53:25 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/os-support/shared/VTsw_usl.c b/hw/xfree86/os-support/shared/VTsw_usl.c index 3c0ca6b6e9..b38470aea7 100644 --- a/hw/xfree86/os-support/shared/VTsw_usl.c +++ b/hw/xfree86/os-support/shared/VTsw_usl.c @@ -23,6 +23,10 @@ */ /* $XConsortium: VTsw_usl.c /main/3 1996/02/21 17:53:28 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/os-support/shared/agp_noop.c b/hw/xfree86/os-support/shared/agp_noop.c index 8c2da51661..dc176fec97 100644 --- a/hw/xfree86/os-support/shared/agp_noop.c +++ b/hw/xfree86/os-support/shared/agp_noop.c @@ -31,6 +31,10 @@ * AGP GART support. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ # define I_NEED_OS2_H #endif diff --git a/hw/xfree86/os-support/shared/at_scancode.c b/hw/xfree86/os-support/shared/at_scancode.c index 0b9bc674cf..8947254bcc 100644 --- a/hw/xfree86/os-support/shared/at_scancode.c +++ b/hw/xfree86/os-support/shared/at_scancode.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Xinput.h" #include "xf86OSKbd.h" diff --git a/hw/xfree86/os-support/shared/bios_devmem.c b/hw/xfree86/os-support/shared/bios_devmem.c index 5e516221d1..8bd6d3f3e0 100644 --- a/hw/xfree86/os-support/shared/bios_devmem.c +++ b/hw/xfree86/os-support/shared/bios_devmem.c @@ -23,6 +23,10 @@ */ /* $XConsortium: bios_devmem.c /main/5 1996/10/19 18:07:41 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/shared/bios_mmap.c b/hw/xfree86/os-support/shared/bios_mmap.c index c5cb404eb7..b4ff8c31f8 100644 --- a/hw/xfree86/os-support/shared/bios_mmap.c +++ b/hw/xfree86/os-support/shared/bios_mmap.c @@ -23,6 +23,10 @@ */ /* $XConsortium: bios_V4mmap.c /main/4 1996/02/21 17:54:27 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" diff --git a/hw/xfree86/os-support/shared/ia64Pci.c b/hw/xfree86/os-support/shared/ia64Pci.c index 30a062276b..ff4312bf57 100644 --- a/hw/xfree86/os-support/shared/ia64Pci.c +++ b/hw/xfree86/os-support/shared/ia64Pci.c @@ -29,6 +29,10 @@ * This file contains the glue needed to support various IA-64 chipsets. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/os-support/shared/ia64Pci.h b/hw/xfree86/os-support/shared/ia64Pci.h index bc4777dbbb..978c9ff0e2 100644 --- a/hw/xfree86/os-support/shared/ia64Pci.h +++ b/hw/xfree86/os-support/shared/ia64Pci.h @@ -23,6 +23,10 @@ *ings in this Software without prior written authorization from Egbert Eich. * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _IA64_PCI_H # define _IA64_PCI_H diff --git a/hw/xfree86/os-support/shared/ioperm_noop.c b/hw/xfree86/os-support/shared/ioperm_noop.c index af5724cf17..b3ea044f9f 100644 --- a/hw/xfree86/os-support/shared/ioperm_noop.c +++ b/hw/xfree86/os-support/shared/ioperm_noop.c @@ -28,6 +28,10 @@ * or the permissions are implicit with opening/enabling the console. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/shared/kbd.c b/hw/xfree86/os-support/shared/kbd.c index 213e8bd624..822c8fe528 100644 --- a/hw/xfree86/os-support/shared/kbd.c +++ b/hw/xfree86/os-support/shared/kbd.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86OSKbd.h" Bool diff --git a/hw/xfree86/os-support/shared/kmod_noop.c b/hw/xfree86/os-support/shared/kmod_noop.c index ae6852ed97..620e9bf357 100644 --- a/hw/xfree86/os-support/shared/kmod_noop.c +++ b/hw/xfree86/os-support/shared/kmod_noop.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86_OSproc.h" int xf86LoadKernelModule(const char *pathname) diff --git a/hw/xfree86/os-support/shared/libc_wrapper.c b/hw/xfree86/os-support/shared/libc_wrapper.c index 66d15b2613..a77e2b94c8 100644 --- a/hw/xfree86/os-support/shared/libc_wrapper.c +++ b/hw/xfree86/os-support/shared/libc_wrapper.c @@ -23,6 +23,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if defined(linux) && !defined(__GLIBC__) #undef __STRICT_ANSI__ #endif diff --git a/hw/xfree86/os-support/shared/pm_noop.c b/hw/xfree86/os-support/shared/pm_noop.c index 4225e6dd4a..d17ce38128 100644 --- a/hw/xfree86/os-support/shared/pm_noop.c +++ b/hw/xfree86/os-support/shared/pm_noop.c @@ -28,6 +28,10 @@ /* Stubs for the OS-support layer power-management functions. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c index 362c8bcdc4..be37039443 100644 --- a/hw/xfree86/os-support/shared/posix_tty.c +++ b/hw/xfree86/os-support/shared/posix_tty.c @@ -55,6 +55,10 @@ /* $XConsortium: posix_tty.c /main/7 1996/10/19 18:07:47 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/shared/sigio.c b/hw/xfree86/os-support/shared/sigio.c index 3fef72e17f..f7e0c45bda 100644 --- a/hw/xfree86/os-support/shared/sigio.c +++ b/hw/xfree86/os-support/shared/sigio.c @@ -54,6 +54,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86Server # include # include "xf86.h" diff --git a/hw/xfree86/os-support/shared/sigiostubs.c b/hw/xfree86/os-support/shared/sigiostubs.c index 358981f107..c79055853c 100644 --- a/hw/xfree86/os-support/shared/sigiostubs.c +++ b/hw/xfree86/os-support/shared/sigiostubs.c @@ -27,6 +27,10 @@ */ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/os-support/shared/sigiostubs.c,v 1.3 2005/04/20 12:25:38 daniels Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86Server #ifdef __UNIXOS2__ # define I_NEED_OS2_H diff --git a/hw/xfree86/os-support/shared/stdPci.c b/hw/xfree86/os-support/shared/stdPci.c index ba0574f249..491406f92f 100644 --- a/hw/xfree86/os-support/shared/stdPci.c +++ b/hw/xfree86/os-support/shared/stdPci.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ # define I_NEED_OS2_H #endif diff --git a/hw/xfree86/os-support/shared/stdResource.c b/hw/xfree86/os-support/shared/stdResource.c index 72ab998495..4704d81940 100644 --- a/hw/xfree86/os-support/shared/stdResource.c +++ b/hw/xfree86/os-support/shared/stdResource.c @@ -28,6 +28,10 @@ /* Standard resource information code */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ # define I_NEED_OS2_H #endif diff --git a/hw/xfree86/os-support/shared/std_kbdEv.c b/hw/xfree86/os-support/shared/std_kbdEv.c index 2a030c3dc1..c678162c2a 100644 --- a/hw/xfree86/os-support/shared/std_kbdEv.c +++ b/hw/xfree86/os-support/shared/std_kbdEv.c @@ -25,6 +25,10 @@ */ /* $XConsortium: std_kbdEv.c /main/4 1996/03/11 10:47:33 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" diff --git a/hw/xfree86/os-support/shared/sysv_kbd.c b/hw/xfree86/os-support/shared/sysv_kbd.c index 5421b11c3d..dd1ca33566 100644 --- a/hw/xfree86/os-support/shared/sysv_kbd.c +++ b/hw/xfree86/os-support/shared/sysv_kbd.c @@ -25,6 +25,10 @@ */ /* $XConsortium: sysv_kbd.c /main/3 1996/02/21 17:53:59 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/shared/vidmem.c b/hw/xfree86/os-support/shared/vidmem.c index 29c8a2171e..237d47a4de 100644 --- a/hw/xfree86/os-support/shared/vidmem.c +++ b/hw/xfree86/os-support/shared/vidmem.c @@ -27,6 +27,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef __UNIXOS2__ # define I_NEED_OS2_H #endif diff --git a/hw/xfree86/os-support/shared/xf86Axp.c b/hw/xfree86/os-support/shared/xf86Axp.c index 42edbc53ce..b8953f1198 100644 --- a/hw/xfree86/os-support/shared/xf86Axp.c +++ b/hw/xfree86/os-support/shared/xf86Axp.c @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Axp.h" axpParams xf86AXPParams[] = { diff --git a/hw/xfree86/os-support/shared/xf86Axp.h b/hw/xfree86/os-support/shared/xf86Axp.h index e63619e3a6..4b8b08370d 100644 --- a/hw/xfree86/os-support/shared/xf86Axp.h +++ b/hw/xfree86/os-support/shared/xf86Axp.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/xf86Axp.h,v 1.3 2001/02/15 19:46:03 eich Exp $ */ +/* $XFree86$ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #ifndef _XF86_AXP_H_ #define _XF86_AXP_H_ diff --git a/hw/xfree86/os-support/solaris/sun_bios.c b/hw/xfree86/os-support/solaris/sun_bios.c index d1c79888be..8319de04ea 100644 --- a/hw/xfree86/os-support/solaris/sun_bios.c +++ b/hw/xfree86/os-support/solaris/sun_bios.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_bios.c,v 1.2 2001/10/28 03:34:02 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_bios.c,v 1.2tsi Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany * Copyright 1993 by David Wexelblat @@ -23,6 +23,10 @@ * OF THIS SOFTWARE. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef i386 #define _NEED_SYSI86 #endif @@ -71,7 +75,7 @@ xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, { if (!xf86LinearVidMem()) FatalError("xf86ReadBIOS: Could not mmap BIOS" - " [a=%x]\n", Base); + " [a=%lx]\n", Base); sprintf(solx86_vtname, apertureDevName); } @@ -86,7 +90,7 @@ xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, if (ptr == MAP_FAILED) { xf86Msg(X_WARNING, "xf86ReadBIOS: %s mmap failed " - "[0x%05x, 0x%04x]\n", + "[0x%08lx, 0x%04x]\n", solx86_vtname, Base, mlen); close(fd); return -1; diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c index 97c6dba393..40c264ce01 100644 --- a/hw/xfree86/os-support/solaris/sun_init.c +++ b/hw/xfree86/os-support/solaris/sun_init.c @@ -24,6 +24,10 @@ */ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_init.c,v 1.3 2005/05/21 07:46:37 alanc Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Priv.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/solaris/sun_io.c b/hw/xfree86/os-support/solaris/sun_io.c index 27996d3123..c4dc23669c 100644 --- a/hw/xfree86/os-support/solaris/sun_io.c +++ b/hw/xfree86/os-support/solaris/sun_io.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_io.c,v 1.3 2003/02/17 15:12:00 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_io.c,v 1.2 2002/10/11 01:40:37 dawes Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany * Copyright 1993 by David Dawes @@ -24,6 +24,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Priv.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/solaris/sun_kbd.c b/hw/xfree86/os-support/solaris/sun_kbd.c index 56929d69b2..35d3a77317 100644 --- a/hw/xfree86/os-support/solaris/sun_kbd.c +++ b/hw/xfree86/os-support/solaris/sun_kbd.c @@ -25,6 +25,10 @@ */ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_kbd.c,v 1.3 2004/06/13 04:50:21 alanc Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Priv.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/solaris/sun_kbdEv.c b/hw/xfree86/os-support/solaris/sun_kbdEv.c index eba420937c..620b18d186 100644 --- a/hw/xfree86/os-support/solaris/sun_kbdEv.c +++ b/hw/xfree86/os-support/solaris/sun_kbdEv.c @@ -25,6 +25,10 @@ /* [JCH-96/01/21] Extended std reverse map to four buttons. */ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_kbdEv.c,v 1.5 2005/05/21 07:46:37 alanc Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86Priv.h" #include "xf86_OSlib.h" diff --git a/hw/xfree86/os-support/solaris/sun_mouse.c b/hw/xfree86/os-support/solaris/sun_mouse.c index b3fedbd0fc..be01f8905f 100644 --- a/hw/xfree86/os-support/solaris/sun_mouse.c +++ b/hw/xfree86/os-support/solaris/sun_mouse.c @@ -53,6 +53,10 @@ * of the copyright holder. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSlib.h" #include "xf86OSmouse.h" diff --git a/hw/xfree86/os-support/solaris/sun_vid.c b/hw/xfree86/os-support/solaris/sun_vid.c index 60d60f9e10..3db537a3a6 100644 --- a/hw/xfree86/os-support/solaris/sun_vid.c +++ b/hw/xfree86/os-support/solaris/sun_vid.c @@ -23,6 +23,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if defined(i386) || defined(__x86) #define _NEED_SYSI86 #endif diff --git a/hw/xfree86/os-support/sysv/sysv_init.c b/hw/xfree86/os-support/sysv/sysv_init.c index ebd2bacc42..3edffd4461 100644 --- a/hw/xfree86/os-support/sysv/sysv_init.c +++ b/hw/xfree86/os-support/sysv/sysv_init.c @@ -25,6 +25,10 @@ */ /* $XConsortium: sysv_init.c /main/4 1996/02/21 17:54:31 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/os-support/sysv/sysv_io.c b/hw/xfree86/os-support/sysv/sysv_io.c index 3c9e8e3536..6fb642bce2 100644 --- a/hw/xfree86/os-support/sysv/sysv_io.c +++ b/hw/xfree86/os-support/sysv/sysv_io.c @@ -25,6 +25,10 @@ */ /* $XConsortium: sysv_io.c /main/8 1996/10/19 18:08:06 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/sysv/sysv_mouse.c b/hw/xfree86/os-support/sysv/sysv_mouse.c index 7365faa067..f839362fc8 100644 --- a/hw/xfree86/os-support/sysv/sysv_mouse.c +++ b/hw/xfree86/os-support/sysv/sysv_mouse.c @@ -4,6 +4,10 @@ * Copyright 1999 by The XFree86 Project, Inc. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86Xinput.h" diff --git a/hw/xfree86/os-support/sysv/sysv_video.c b/hw/xfree86/os-support/sysv/sysv_video.c index cff22e3fe5..e8c26dada8 100644 --- a/hw/xfree86/os-support/sysv/sysv_video.c +++ b/hw/xfree86/os-support/sysv/sysv_video.c @@ -25,6 +25,10 @@ */ /* $XConsortium: sysv_video.c /main/8 1996/10/25 11:38:09 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #define _NEED_SYSI86 diff --git a/hw/xfree86/os-support/sysv/xqueue.c b/hw/xfree86/os-support/sysv/xqueue.c index 755be3dabc..a14fc32e6b 100644 --- a/hw/xfree86/os-support/sysv/xqueue.c +++ b/hw/xfree86/os-support/sysv/xqueue.c @@ -24,6 +24,10 @@ */ /* $XConsortium: xqueue.c /main/8 1996/10/19 18:08:11 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "compiler.h" diff --git a/hw/xfree86/os-support/sysv/xqueue.h b/hw/xfree86/os-support/sysv/xqueue.h index 2085a3e70c..d693d2b369 100644 --- a/hw/xfree86/os-support/sysv/xqueue.h +++ b/hw/xfree86/os-support/sysv/xqueue.h @@ -1,4 +1,8 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sysv/xqueue.h,v 1.1 1999/05/22 08:40:18 dawes Exp $ */ +/* $XFree86$ */ + +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #ifndef _XF86_XQUEUE_H_ #define _XF86_XQUEUE_H_ diff --git a/hw/xfree86/os-support/xf86OSKbd.h b/hw/xfree86/os-support/xf86OSKbd.h index 1b5124a55d..fa2253655a 100644 --- a/hw/xfree86/os-support/xf86OSKbd.h +++ b/hw/xfree86/os-support/xf86OSKbd.h @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/xf86OSKbd.h,v 1.5 2003/08/24 19:58:06 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/xf86OSKbd.h,v 1.5tsi Exp $ */ /* * Copyright (c) 2002-2003 by The XFree86 Project, Inc. * @@ -28,6 +28,10 @@ * Author: Ivan Pascal. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Xinput.h" Bool ATScancode(InputInfoPtr pInfo, int *scanCode); @@ -104,7 +108,7 @@ typedef enum { PROT_XQUEUE, PROT_WSCONS, PROT_USB, - PROT_UNKNOWN + PROT_UNKNOWN_KBD } KbdProtocolId; typedef struct { diff --git a/hw/xfree86/os-support/xf86OSmouse.h b/hw/xfree86/os-support/xf86OSmouse.h index 7cb732237e..879262991b 100644 --- a/hw/xfree86/os-support/xf86OSmouse.h +++ b/hw/xfree86/os-support/xf86OSmouse.h @@ -28,6 +28,10 @@ /* Public interface to OS-specific mouse support. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86OSMOUSE_H_ #define _XF86OSMOUSE_H_ diff --git a/hw/xfree86/os-support/xf86OSpriv.h b/hw/xfree86/os-support/xf86OSpriv.h index 865738c400..449e8ddd0a 100644 --- a/hw/xfree86/os-support/xf86OSpriv.h +++ b/hw/xfree86/os-support/xf86OSpriv.h @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86OSPRIV_H #define _XF86OSPRIV_H diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h index b65420e2b4..e49e4a22ca 100644 --- a/hw/xfree86/os-support/xf86_OSlib.h +++ b/hw/xfree86/os-support/xf86_OSlib.h @@ -74,6 +74,10 @@ * may include xf86_OSproc.h to get prototypes for public interfaces. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_OSLIB_H #define _XF86_OSLIB_H diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h index f50c00ea3e..391baebc67 100644 --- a/hw/xfree86/os-support/xf86_OSproc.h +++ b/hw/xfree86/os-support/xf86_OSproc.h @@ -66,6 +66,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h,v 3.56 2003/08/24 17:37:03 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_OSPROC_H #define _XF86_OSPROC_H diff --git a/hw/xfree86/os-support/xf86_ansic.h b/hw/xfree86/os-support/xf86_ansic.h index 9bae4ba69c..ea2216b390 100644 --- a/hw/xfree86/os-support/xf86_ansic.h +++ b/hw/xfree86/os-support/xf86_ansic.h @@ -23,6 +23,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_ANSIC_H #define _XF86_ANSIC_H diff --git a/hw/xfree86/os-support/xf86_libc.h b/hw/xfree86/os-support/xf86_libc.h index 5f0f78f02b..ecdbfeac56 100644 --- a/hw/xfree86/os-support/xf86_libc.h +++ b/hw/xfree86/os-support/xf86_libc.h @@ -42,6 +42,10 @@ * 0.1 Feb 24 1997 hide the trivial functions mem* str* */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef XF86_LIBC_H #define XF86_LIBC_H 1 diff --git a/hw/xfree86/parser/Configint.h b/hw/xfree86/parser/Configint.h index 1659d1be4d..a51116b550 100644 --- a/hw/xfree86/parser/Configint.h +++ b/hw/xfree86/parser/Configint.h @@ -59,6 +59,10 @@ * they should not be visible outside of the parser. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _Configint_h_ #define _Configint_h_ diff --git a/hw/xfree86/parser/DRI.c b/hw/xfree86/parser/DRI.c index 695c165050..93d0d4b527 100644 --- a/hw/xfree86/parser/DRI.c +++ b/hw/xfree86/parser/DRI.c @@ -28,6 +28,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Device.c b/hw/xfree86/parser/Device.c index 9bfe4d1b97..6eb2857f0b 100644 --- a/hw/xfree86/parser/Device.c +++ b/hw/xfree86/parser/Device.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Extensions.c b/hw/xfree86/parser/Extensions.c index 0c51a6e331..b64f081110 100644 --- a/hw/xfree86/parser/Extensions.c +++ b/hw/xfree86/parser/Extensions.c @@ -31,6 +31,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Files.c b/hw/xfree86/parser/Files.c index fd18dcf2e3..cbbcc74c8b 100644 --- a/hw/xfree86/parser/Files.c +++ b/hw/xfree86/parser/Files.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86Parser.h" #include "xf86tokens.h" diff --git a/hw/xfree86/parser/Flags.c b/hw/xfree86/parser/Flags.c index e6326a74ed..bda24df1b9 100644 --- a/hw/xfree86/parser/Flags.c +++ b/hw/xfree86/parser/Flags.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Input.c b/hw/xfree86/parser/Input.c index 6e38bdd15e..9f9323f052 100644 --- a/hw/xfree86/parser/Input.c +++ b/hw/xfree86/parser/Input.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Keyboard.c b/hw/xfree86/parser/Keyboard.c index cca3ce412e..4ba893a9d3 100644 --- a/hw/xfree86/parser/Keyboard.c +++ b/hw/xfree86/parser/Keyboard.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Layout.c b/hw/xfree86/parser/Layout.c index 9907d29c85..56d92a79c6 100644 --- a/hw/xfree86/parser/Layout.c +++ b/hw/xfree86/parser/Layout.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Module.c b/hw/xfree86/parser/Module.c index 33b591d884..7a5a252072 100644 --- a/hw/xfree86/parser/Module.c +++ b/hw/xfree86/parser/Module.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Monitor.c b/hw/xfree86/parser/Monitor.c index faafa1a7ff..8669471a7f 100644 --- a/hw/xfree86/parser/Monitor.c +++ b/hw/xfree86/parser/Monitor.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Pointer.c b/hw/xfree86/parser/Pointer.c index 8b373c5628..81984a3e7a 100644 --- a/hw/xfree86/parser/Pointer.c +++ b/hw/xfree86/parser/Pointer.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Screen.c b/hw/xfree86/parser/Screen.c index e3bf180486..d572af56c5 100644 --- a/hw/xfree86/parser/Screen.c +++ b/hw/xfree86/parser/Screen.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Vendor.c b/hw/xfree86/parser/Vendor.c index fbbb2e00f3..9c6469bb83 100644 --- a/hw/xfree86/parser/Vendor.c +++ b/hw/xfree86/parser/Vendor.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/Video.c b/hw/xfree86/parser/Video.c index de65c415e1..88788aea85 100644 --- a/hw/xfree86/parser/Video.c +++ b/hw/xfree86/parser/Video.c @@ -55,6 +55,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/configProcs.h b/hw/xfree86/parser/configProcs.h index cc694666fd..bb5f4e9b26 100644 --- a/hw/xfree86/parser/configProcs.h +++ b/hw/xfree86/parser/configProcs.h @@ -121,6 +121,10 @@ XF86ConfExtensionsPtr xf86parseExtensionsSection (void); void xf86printExtensionsSection (FILE * cf, XF86ConfExtensionsPtr ptr); void xf86freeExtensions (XF86ConfExtensionsPtr ptr); +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef IN_XSERVER /* Externally provided functions */ void ErrorF(const char *f, ...); diff --git a/hw/xfree86/parser/cpconfig.c b/hw/xfree86/parser/cpconfig.c index e2dbb3e919..4eb635b30e 100644 --- a/hw/xfree86/parser/cpconfig.c +++ b/hw/xfree86/parser/cpconfig.c @@ -29,6 +29,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/parser/read.c b/hw/xfree86/parser/read.c index 2946dc8b1f..59b0ea6fb3 100644 --- a/hw/xfree86/parser/read.c +++ b/hw/xfree86/parser/read.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/scan.c b/hw/xfree86/parser/scan.c index d97954d2e9..ce3cda128c 100644 --- a/hw/xfree86/parser/scan.c +++ b/hw/xfree86/parser/scan.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/parser/write.c b/hw/xfree86/parser/write.c index 499b6a11e9..285080d99c 100644 --- a/hw/xfree86/parser/write.c +++ b/hw/xfree86/parser/write.c @@ -56,6 +56,10 @@ /* View/edit this file with tab stops set to 4 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Parser.h" #include "xf86tokens.h" #include "Configint.h" diff --git a/hw/xfree86/parser/xf86Optrec.h b/hw/xfree86/parser/xf86Optrec.h index d7a1e7ae5d..c38f2c2196 100644 --- a/hw/xfree86/parser/xf86Optrec.h +++ b/hw/xfree86/parser/xf86Optrec.h @@ -58,6 +58,10 @@ * This file contains the Option Record that is passed between the Parser, * and Module setup procs. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86Optrec_h_ #define _xf86Optrec_h_ #include diff --git a/hw/xfree86/parser/xf86Parser.h b/hw/xfree86/parser/xf86Parser.h index b6a974d3cb..71568842d5 100644 --- a/hw/xfree86/parser/xf86Parser.h +++ b/hw/xfree86/parser/xf86Parser.h @@ -58,6 +58,10 @@ * This file contains the external interfaces for the XFree86 configuration * file parser. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86Parser_h_ #define _xf86Parser_h_ diff --git a/hw/xfree86/parser/xf86tokens.h b/hw/xfree86/parser/xf86tokens.h index 387773dc06..3c7e68ecea 100644 --- a/hw/xfree86/parser/xf86tokens.h +++ b/hw/xfree86/parser/xf86tokens.h @@ -54,6 +54,10 @@ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _xf86_tokens_h #define _xf86_tokens_h diff --git a/hw/xfree86/rac/xf86RAC.c b/hw/xfree86/rac/xf86RAC.c index 3fa3ee9116..13b697d850 100644 --- a/hw/xfree86/rac/xf86RAC.c +++ b/hw/xfree86/rac/xf86RAC.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/rac/xf86RAC.c,v 1.5 1999/06/12 17:30:21 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/rac/xf86RAC.h b/hw/xfree86/rac/xf86RAC.h index 68adaa31a3..f500b56d7e 100644 --- a/hw/xfree86/rac/xf86RAC.h +++ b/hw/xfree86/rac/xf86RAC.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/rac/xf86RAC.h,v 1.2 1999/05/15 12:10:33 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef __XF86RAC_H #define __XF86RAC_H 1 diff --git a/hw/xfree86/rac/xf86RACmodule.c b/hw/xfree86/rac/xf86RACmodule.c index 83c60e3fdc..7221b9dac5 100644 --- a/hw/xfree86/rac/xf86RACmodule.c +++ b/hw/xfree86/rac/xf86RACmodule.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/rac/xf86RACmodule.c,v 1.3 1999/01/17 10:54:12 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Module.h" static XF86ModuleVersionInfo racVersRec = diff --git a/hw/xfree86/ramdac/BT.c b/hw/xfree86/ramdac/BT.c index 440b0021bc..346b902dda 100644 --- a/hw/xfree86/ramdac/BT.c +++ b/hw/xfree86/ramdac/BT.c @@ -25,6 +25,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/BT.c,v 1.7 2000/10/20 12:57:27 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ramdac/BT.h b/hw/xfree86/ramdac/BT.h index c52b5a7456..f01357a092 100644 --- a/hw/xfree86/ramdac/BT.h +++ b/hw/xfree86/ramdac/BT.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/BT.h,v 1.2 1998/07/25 16:57:17 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86RamDac.h" RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs); diff --git a/hw/xfree86/ramdac/BTPriv.h b/hw/xfree86/ramdac/BTPriv.h index 67469d2ed3..17edaefdc4 100644 --- a/hw/xfree86/ramdac/BTPriv.h +++ b/hw/xfree86/ramdac/BTPriv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/BTPriv.h,v 1.1.2.1 1998/07/18 17:54:00 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "BT.h" typedef struct { diff --git a/hw/xfree86/ramdac/IBM.c b/hw/xfree86/ramdac/IBM.c index 4fede5720d..bf9b729d85 100644 --- a/hw/xfree86/ramdac/IBM.c +++ b/hw/xfree86/ramdac/IBM.c @@ -25,6 +25,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/IBM.c,v 1.12 2003/02/17 16:08:29 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ramdac/IBM.h b/hw/xfree86/ramdac/IBM.h index eb211883c5..14543287ad 100644 --- a/hw/xfree86/ramdac/IBM.h +++ b/hw/xfree86/ramdac/IBM.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/IBM.h,v 1.7 1999/02/12 22:52:11 hohndel Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include RamDacHelperRecPtr IBMramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs); diff --git a/hw/xfree86/ramdac/IBMPriv.h b/hw/xfree86/ramdac/IBMPriv.h index 1a2bf2065d..9942965176 100644 --- a/hw/xfree86/ramdac/IBMPriv.h +++ b/hw/xfree86/ramdac/IBMPriv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/IBMPriv.h,v 1.1.2.2 1998/07/18 17:54:01 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "IBM.h" typedef struct { diff --git a/hw/xfree86/ramdac/TI.c b/hw/xfree86/ramdac/TI.c index 024cb49eb4..e945dab10c 100644 --- a/hw/xfree86/ramdac/TI.c +++ b/hw/xfree86/ramdac/TI.c @@ -26,6 +26,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/TI.c,v 1.7 2003/02/17 16:08:29 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ramdac/TI.h b/hw/xfree86/ramdac/TI.h index f33247cfc5..05fabb4b2c 100644 --- a/hw/xfree86/ramdac/TI.h +++ b/hw/xfree86/ramdac/TI.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/TI.h,v 1.4 2000/05/02 21:04:46 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include unsigned long TIramdacCalculateMNPForClock(unsigned long RefClock, diff --git a/hw/xfree86/ramdac/TIPriv.h b/hw/xfree86/ramdac/TIPriv.h index 81fe844a18..d66149dcfa 100644 --- a/hw/xfree86/ramdac/TIPriv.h +++ b/hw/xfree86/ramdac/TIPriv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/TIPriv.h,v 1.2 1998/07/25 16:57:19 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "TI.h" typedef struct { diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c index eedb003778..f8efa8f710 100644 --- a/hw/xfree86/ramdac/xf86Cursor.c +++ b/hw/xfree86/ramdac/xf86Cursor.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86Cursor.c,v 1.19tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_ansic.h" #include "xf86CursorPriv.h" diff --git a/hw/xfree86/ramdac/xf86Cursor.h b/hw/xfree86/ramdac/xf86Cursor.h index ac88f4e5f5..ff5a7c7459 100644 --- a/hw/xfree86/ramdac/xf86Cursor.h +++ b/hw/xfree86/ramdac/xf86Cursor.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86Cursor.h,v 1.10tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86CURSOR_H #define _XF86CURSOR_H diff --git a/hw/xfree86/ramdac/xf86CursorPriv.h b/hw/xfree86/ramdac/xf86CursorPriv.h index 603f8ecd00..cbe62546b4 100644 --- a/hw/xfree86/ramdac/xf86CursorPriv.h +++ b/hw/xfree86/ramdac/xf86CursorPriv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86CursorPriv.h,v 1.4tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86CURSORPRIV_H #define _XF86CURSORPRIV_H diff --git a/hw/xfree86/ramdac/xf86HWCurs.c b/hw/xfree86/ramdac/xf86HWCurs.c index 675fce09cc..527638fac5 100644 --- a/hw/xfree86/ramdac/xf86HWCurs.c +++ b/hw/xfree86/ramdac/xf86HWCurs.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86HWCurs.c,v 1.12 2003/02/13 20:28:41 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ramdac/xf86RamDac.c b/hw/xfree86/ramdac/xf86RamDac.c index 7821e591c8..1182a3e392 100644 --- a/hw/xfree86/ramdac/xf86RamDac.c +++ b/hw/xfree86/ramdac/xf86RamDac.c @@ -25,6 +25,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86RamDac.c,v 1.6tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_OSproc.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/ramdac/xf86RamDac.h b/hw/xfree86/ramdac/xf86RamDac.h index 319a7b5779..92795a89a5 100644 --- a/hw/xfree86/ramdac/xf86RamDac.h +++ b/hw/xfree86/ramdac/xf86RamDac.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86RamDac.h,v 1.9 1999/03/28 15:33:02 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86RAMDAC_H #define _XF86RAMDAC_H 1 diff --git a/hw/xfree86/ramdac/xf86RamDacCmap.c b/hw/xfree86/ramdac/xf86RamDacCmap.c index b33ea8de0c..6a59b4bb76 100644 --- a/hw/xfree86/ramdac/xf86RamDacCmap.c +++ b/hw/xfree86/ramdac/xf86RamDacCmap.c @@ -25,6 +25,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86RamDacCmap.c,v 1.6 2000/03/21 21:15:28 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "windowstr.h" diff --git a/hw/xfree86/ramdac/xf86RamDacMod.c b/hw/xfree86/ramdac/xf86RamDacMod.c index 0fe5ce6aab..d87defc167 100644 --- a/hw/xfree86/ramdac/xf86RamDacMod.c +++ b/hw/xfree86/ramdac/xf86RamDacMod.c @@ -25,6 +25,10 @@ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86RamDacMod.c,v 1.5 1999/01/17 10:54:13 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86Module.h" diff --git a/hw/xfree86/ramdac/xf86RamDacPriv.h b/hw/xfree86/ramdac/xf86RamDacPriv.h index 45680a05bb..ae5fc72c50 100644 --- a/hw/xfree86/ramdac/xf86RamDacPriv.h +++ b/hw/xfree86/ramdac/xf86RamDacPriv.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/xf86RamDacPriv.h,v 1.3 1998/12/06 06:08:37 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86RamDac.h" #include "xf86cmap.h" diff --git a/hw/xfree86/scanpci/xf86PciData.h b/hw/xfree86/scanpci/xf86PciData.h index 2253de8e51..0533d78ecc 100644 --- a/hw/xfree86/scanpci/xf86PciData.h +++ b/hw/xfree86/scanpci/xf86PciData.h @@ -27,6 +27,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef PCI_DATA_H_ #define PCI_DATA_H_ diff --git a/hw/xfree86/scanpci/xf86PciStdIds.h b/hw/xfree86/scanpci/xf86PciStdIds.h index e2e6f65a3f..14697fe466 100644 --- a/hw/xfree86/scanpci/xf86PciStdIds.h +++ b/hw/xfree86/scanpci/xf86PciStdIds.h @@ -19,6 +19,10 @@ * copyright notice. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86PciInfo.h" #ifndef NULL #define NULL (void *)0 diff --git a/hw/xfree86/scanpci/xf86PciStr.h b/hw/xfree86/scanpci/xf86PciStr.h index bb36d510a7..307dfacdf1 100644 --- a/hw/xfree86/scanpci/xf86PciStr.h +++ b/hw/xfree86/scanpci/xf86PciStr.h @@ -31,6 +31,10 @@ * to the scanpci and pcidata modules. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _XF86_PCISTR_H #define _XF86_PCISTR_H diff --git a/hw/xfree86/scanpci/xf86ScanPci.c b/hw/xfree86/scanpci/xf86ScanPci.c index 4a82e65115..1daebdc5f4 100644 --- a/hw/xfree86/scanpci/xf86ScanPci.c +++ b/hw/xfree86/scanpci/xf86ScanPci.c @@ -51,6 +51,10 @@ /* XXX This is including a lot of stuff that modules should not include! */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "xf86.h" diff --git a/hw/xfree86/scanpci/xf86ScanPci.h b/hw/xfree86/scanpci/xf86ScanPci.h index 3a154174a5..9107b9e32a 100644 --- a/hw/xfree86/scanpci/xf86ScanPci.h +++ b/hw/xfree86/scanpci/xf86ScanPci.h @@ -26,6 +26,10 @@ * authorization from the copyright holder(s) and author(s). */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef SCANPCI_H_ #define SCANPCI_H_ diff --git a/hw/xfree86/shadowfb/sfbmodule.c b/hw/xfree86/shadowfb/sfbmodule.c index 6793c8f958..663f587c40 100644 --- a/hw/xfree86/shadowfb/sfbmodule.c +++ b/hw/xfree86/shadowfb/sfbmodule.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/sfbmodule.c,v 1.1 1999/01/31 12:38:06 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/shadowfb/shadow.c b/hw/xfree86/shadowfb/shadow.c index 960aa8af74..4363ad0f92 100644 --- a/hw/xfree86/shadowfb/shadow.c +++ b/hw/xfree86/shadowfb/shadow.c @@ -8,18 +8,22 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadow.c,v 1.20tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include #include "pixmapstr.h" #include "input.h" -#include "font.h" +#include #include "mi.h" #include "scrnintstr.h" #include "windowstr.h" #include "gcstruct.h" #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "xf86.h" #include "xf86str.h" #include "shadowfb.h" diff --git a/hw/xfree86/shadowfb/shadowfb.h b/hw/xfree86/shadowfb/shadowfb.h index e428226007..d177c5f1bf 100644 --- a/hw/xfree86/shadowfb/shadowfb.h +++ b/hw/xfree86/shadowfb/shadowfb.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadowfb.h,v 1.3 2002/10/16 22:12:54 alanh Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _SHADOWFB_H #define _SHADOWFB_H diff --git a/hw/xfree86/utils/xorgcfg/loader.h b/hw/xfree86/utils/xorgcfg/loader.h index c1a317587c..5066b753d1 100644 --- a/hw/xfree86/utils/xorgcfg/loader.h +++ b/hw/xfree86/utils/xorgcfg/loader.h @@ -47,7 +47,7 @@ #define XINPUT #include "xf86Xinput.h" -#include "fontmod.h" +#include #include "loaderProcs.h" #include diff --git a/hw/xfree86/vbe/vbe.c b/hw/xfree86/vbe/vbe.c index 7b55c1398f..b69a82b4ee 100644 --- a/hw/xfree86/vbe/vbe.c +++ b/hw/xfree86/vbe/vbe.c @@ -10,6 +10,10 @@ * Authors: Paulo César Pereira de Andrade */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_ansic.h" #include "vbe.h" diff --git a/hw/xfree86/vbe/vbe.h b/hw/xfree86/vbe/vbe.h index 32515462e1..14e8f1a1a4 100644 --- a/hw/xfree86/vbe/vbe.h +++ b/hw/xfree86/vbe/vbe.h @@ -10,6 +10,10 @@ * Authors: Paulo César Pereira de Andrade */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _VBE_H #define _VBE_H #include "xf86int10.h" diff --git a/hw/xfree86/vbe/vbeModes.c b/hw/xfree86/vbe/vbeModes.c index c7169dd8f4..678f8e120a 100644 --- a/hw/xfree86/vbe/vbeModes.c +++ b/hw/xfree86/vbe/vbeModes.c @@ -30,6 +30,10 @@ * $XFree86: xc/programs/Xserver/hw/xfree86/vbe/vbeModes.c,v 1.3tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86_ansic.h" #include "vbe.h" diff --git a/hw/xfree86/vbe/vbeModes.h b/hw/xfree86/vbe/vbeModes.h index 2a8d1b33a0..a716f26bea 100644 --- a/hw/xfree86/vbe/vbeModes.h +++ b/hw/xfree86/vbe/vbeModes.h @@ -29,6 +29,10 @@ * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/vbe/vbeModes.h,v 1.1 2002/08/06 13:46:28 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _VBE_MODES_H /* diff --git a/hw/xfree86/vbe/vbe_module.c b/hw/xfree86/vbe/vbe_module.c index d6f49a5c81..5e3a193b12 100644 --- a/hw/xfree86/vbe/vbe_module.c +++ b/hw/xfree86/vbe/vbe_module.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/vbe/vbe_module.c,v 1.4 2002/09/16 18:06:15 eich Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf86.h" #include "xf86str.h" #include "vbe.h" diff --git a/hw/xfree86/vgahw/vgaCmap.c b/hw/xfree86/vgahw/vgaCmap.c index d73c043001..85f8bbdb8c 100644 --- a/hw/xfree86/vgahw/vgaCmap.c +++ b/hw/xfree86/vgahw/vgaCmap.c @@ -24,6 +24,10 @@ /* $XConsortium: vgaCmap.c /main/15 1996/10/28 05:13:44 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "windowstr.h" diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c index fb0e65b7ed..07a41d1280 100644 --- a/hw/xfree86/vgahw/vgaHW.c +++ b/hw/xfree86/vgahw/vgaHW.c @@ -12,6 +12,10 @@ #define _NEED_SYSI86 +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/hw/xfree86/vgahw/vgaHW.h b/hw/xfree86/vgahw/vgaHW.h index 14dbb4be3d..568d450937 100644 --- a/hw/xfree86/vgahw/vgaHW.h +++ b/hw/xfree86/vgahw/vgaHW.h @@ -11,6 +11,10 @@ * Author: Dirk Hohndel */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _VGAHW_H #define _VGAHW_H diff --git a/hw/xfree86/vgahw/vgaHWmodule.c b/hw/xfree86/vgahw/vgaHWmodule.c index d6044bbb7d..9f5a5a9c26 100644 --- a/hw/xfree86/vgahw/vgaHWmodule.c +++ b/hw/xfree86/vgahw/vgaHWmodule.c @@ -4,6 +4,10 @@ * Copyright 1998 by The XFree86 Project, Inc */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xaa/xaa.h b/hw/xfree86/xaa/xaa.h index d4ff7bbd83..fb31fc1723 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 5e2965ca9e..73aab81cd4 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 7772f3387c..eda0b02ca3 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 272b9fb42f..b3f00d6967 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 5bf4c98584..45e3b6e4a0 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 b614a8afbf..5d2af7584a 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 13b1a6d053..d35434a188 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 de9bd2b929..a2ba8f590a 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 fe73aef62e..3fca17cbb8 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 699491f668..43a351e229 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 0cf273c5b7..1136cbc8f2 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 b7178b9af4..d459e979c3 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 207a126680..451ade394b 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 d7e6d4d52e..24a916bd69 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 6faa7685ed..5de432fedb 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 090436b9b6..ca53aaf7a0 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 a17b152daa..9016c61278 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 2f9bdb7594..be1feb4fda 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 4c9b01018f..e8a28d5d0b 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 514a8cf428..75318e51cb 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 4882f76a64..0c17a4abf0 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 53d0eb841a..fbe029f929 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 044e727ee3..48968c41fd 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 7f5923e426..359e4d4a6f 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 718a992750..139fb7b81f 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 abe1bbb072..cde39d9ea7 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 a80388eae0..b12750421f 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 0f39db96d2..f9fe04d1c0 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 8a7d73a339..9bbecae8b6 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 113be1536f..a1de98c0a0 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 a78ed3758a..4804625889 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 66d3a81e35..02a2b32ce2 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 7a699fd1f6..187a9dc610 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 a4298dddae..3079c6db5a 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 8664648541..8e0e5d828c 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 7ec3dcf7f9..5b525684a3 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 fbcf17f6fe..9f413f4f74 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 2f75b7e32e..9decdc5946 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 883e64d5bc..e01fa7894f 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 1c95727b38..e3f5405167 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 5e3e0e683a..3ba0c16999 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 = \ diff --git a/hw/xfree86/xf1bpp/mfbmap.h b/hw/xfree86/xf1bpp/mfbmap.h index 12695003c8..832c727205 100644 --- a/hw/xfree86/xf1bpp/mfbmap.h +++ b/hw/xfree86/xf1bpp/mfbmap.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf1bpp/mfbmap.h,v 1.1.2.2 1998/06/08 15:13:15 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _MFBMAP_H #define _MFBMAP_H diff --git a/hw/xfree86/xf1bpp/mfbmodule.c b/hw/xfree86/xf1bpp/mfbmodule.c index 81baf5d7e3..50715ccc1e 100644 --- a/hw/xfree86/xf1bpp/mfbmodule.c +++ b/hw/xfree86/xf1bpp/mfbmodule.c @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xf1bpp/mfbunmap.h b/hw/xfree86/xf1bpp/mfbunmap.h index 4540915386..24c3262b75 100644 --- a/hw/xfree86/xf1bpp/mfbunmap.h +++ b/hw/xfree86/xf1bpp/mfbunmap.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf1bpp/mfbunmap.h,v 1.1.2.1 1998/06/27 14:48:24 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef _MFBMAP_H #undef _MFBMAP_H diff --git a/hw/xfree86/xf1bpp/xf1bpp.h b/hw/xfree86/xf1bpp/xf1bpp.h index 18104a77e4..885358bb51 100644 --- a/hw/xfree86/xf1bpp/xf1bpp.h +++ b/hw/xfree86/xf1bpp/xf1bpp.h @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef __XF1BPP_H__ #define __XF1BPP_H__ diff --git a/hw/xfree86/xf4bpp/OScompiler.h b/hw/xfree86/xf4bpp/OScompiler.h index 9c99b1c85e..0e70d6354b 100644 --- a/hw/xfree86/xf4bpp/OScompiler.h +++ b/hw/xfree86/xf4bpp/OScompiler.h @@ -23,6 +23,10 @@ */ /* $XConsortium: OScompiler.h /main/4 1996/02/21 17:56:09 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef __COMPILER_DEPENDANCIES__ #define __COMPILER_DEPENDANCIES__ diff --git a/hw/xfree86/xf4bpp/emulOpStip.c b/hw/xfree86/xf4bpp/emulOpStip.c index 4a347b5d11..2f63b14356 100644 --- a/hw/xfree86/xf4bpp/emulOpStip.c +++ b/hw/xfree86/xf4bpp/emulOpStip.c @@ -30,6 +30,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/emulRepAre.c b/hw/xfree86/xf4bpp/emulRepAre.c index a7f1156825..9ae62149fa 100644 --- a/hw/xfree86/xf4bpp/emulRepAre.c +++ b/hw/xfree86/xf4bpp/emulRepAre.c @@ -28,6 +28,10 @@ * P. Shupak 1/88 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" void xf4bppReplicateArea( pWin, x, y, planeMask, goalWidth, goalHeight, diff --git a/hw/xfree86/xf4bpp/emulTile.c b/hw/xfree86/xf4bpp/emulTile.c index 1e2d095eef..c4f15cad6b 100644 --- a/hw/xfree86/xf4bpp/emulTile.c +++ b/hw/xfree86/xf4bpp/emulTile.c @@ -30,6 +30,10 @@ * Uses private imageFill a bunch of times */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "ibmTrace.h" diff --git a/hw/xfree86/xf4bpp/mfbbres.c b/hw/xfree86/xf4bpp/mfbbres.c index ae9df6e103..b54e239655 100644 --- a/hw/xfree86/xf4bpp/mfbbres.c +++ b/hw/xfree86/xf4bpp/mfbbres.c @@ -50,6 +50,10 @@ SOFTWARE. /* GJA -- modified this file for vga16 */ /* $XConsortium: mfbbres.c /main/5 1996/02/21 17:56:30 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbbresd.c b/hw/xfree86/xf4bpp/mfbbresd.c index 0f320ebc6c..d28a6c2a31 100644 --- a/hw/xfree86/xf4bpp/mfbbresd.c +++ b/hw/xfree86/xf4bpp/mfbbresd.c @@ -49,6 +49,10 @@ SOFTWARE. /* GJA -- modified this file for vga16 */ /* $XConsortium: mfbbresd.c /main/5 1996/02/21 17:56:34 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbfillarc.c b/hw/xfree86/xf4bpp/mfbfillarc.c index c3f62cb647..e2cab12f54 100644 --- a/hw/xfree86/xf4bpp/mfbfillarc.c +++ b/hw/xfree86/xf4bpp/mfbfillarc.c @@ -30,6 +30,10 @@ in this Software without prior written authorization from the X Consortium. /* $XConsortium: mfbfillarc.c /main/4 1996/02/21 17:56:37 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbhrzvert.c b/hw/xfree86/xf4bpp/mfbhrzvert.c index 0e55943561..eb510c0fb1 100644 --- a/hw/xfree86/xf4bpp/mfbhrzvert.c +++ b/hw/xfree86/xf4bpp/mfbhrzvert.c @@ -50,6 +50,10 @@ SOFTWARE. /* GJA -- modified this file for vga16 */ /* $XConsortium: mfbhrzvert.c /main/3 1996/02/21 17:56:41 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbimggblt.c b/hw/xfree86/xf4bpp/mfbimggblt.c index 95d7a7fcbd..03107bbf32 100644 --- a/hw/xfree86/xf4bpp/mfbimggblt.c +++ b/hw/xfree86/xf4bpp/mfbimggblt.c @@ -50,6 +50,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: mfbimggblt.c /main/5 1996/02/21 17:56:44 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbline.c b/hw/xfree86/xf4bpp/mfbline.c index 356028b8c2..6d85f68c1d 100644 --- a/hw/xfree86/xf4bpp/mfbline.c +++ b/hw/xfree86/xf4bpp/mfbline.c @@ -49,6 +49,10 @@ SOFTWARE. /* GJA -- modified this file for vga16 */ /* $XConsortium: mfbline.c /main/4 1996/02/21 17:56:48 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/mfbzerarc.c b/hw/xfree86/xf4bpp/mfbzerarc.c index 4853f8807e..54aa3b0c98 100644 --- a/hw/xfree86/xf4bpp/mfbzerarc.c +++ b/hw/xfree86/xf4bpp/mfbzerarc.c @@ -36,6 +36,10 @@ in this Software without prior written authorization from the X Consortium. * The Computer Journal, November 1967, Volume 10, Number 3, pp. 282-289 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/offscreen.c b/hw/xfree86/xf4bpp/offscreen.c index e684bf118c..1bf634c803 100644 --- a/hw/xfree86/xf4bpp/offscreen.c +++ b/hw/xfree86/xf4bpp/offscreen.c @@ -43,6 +43,10 @@ */ /* $XConsortium: offscreen.c /main/4 1996/02/21 17:56:55 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "vgaVideo.h" #include "pixmapstr.h" diff --git a/hw/xfree86/xf4bpp/ppcArea.c b/hw/xfree86/xf4bpp/ppcArea.c index 663672878e..56cab0d648 100644 --- a/hw/xfree86/xf4bpp/ppcArea.c +++ b/hw/xfree86/xf4bpp/ppcArea.c @@ -29,6 +29,10 @@ * Tom Paquin 8/87 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcBStore.c b/hw/xfree86/xf4bpp/ppcBStore.c index 295f521590..7686b6f9be 100644 --- a/hw/xfree86/xf4bpp/ppcBStore.c +++ b/hw/xfree86/xf4bpp/ppcBStore.c @@ -62,6 +62,10 @@ software without specific, written prior permission. */ /* $XConsortium: ppcBStore.c /main/5 1996/02/21 17:57:06 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "vgaVideo.h" #include "ibmTrace.h" diff --git a/hw/xfree86/xf4bpp/ppcCReduce.c b/hw/xfree86/xf4bpp/ppcCReduce.c index aef3c2dd57..f937aac34d 100644 --- a/hw/xfree86/xf4bpp/ppcCReduce.c +++ b/hw/xfree86/xf4bpp/ppcCReduce.c @@ -24,6 +24,10 @@ /* $XConsortium: ppcCReduce.c /main/3 1996/02/21 17:57:17 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "ppcGCstr.h" diff --git a/hw/xfree86/xf4bpp/ppcClip.c b/hw/xfree86/xf4bpp/ppcClip.c index 87b3871765..fe690555f9 100644 --- a/hw/xfree86/xf4bpp/ppcClip.c +++ b/hw/xfree86/xf4bpp/ppcClip.c @@ -70,6 +70,10 @@ SOFTWARE. */ /* $XConsortium: ppcClip.c /main/4 1996/02/21 17:57:21 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcCpArea.c b/hw/xfree86/xf4bpp/ppcCpArea.c index c6df4ef410..4673fe7acf 100644 --- a/hw/xfree86/xf4bpp/ppcCpArea.c +++ b/hw/xfree86/xf4bpp/ppcCpArea.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #define PSZ 8 diff --git a/hw/xfree86/xf4bpp/ppcDepth.c b/hw/xfree86/xf4bpp/ppcDepth.c index 5c3aff6f63..8a67cdd300 100644 --- a/hw/xfree86/xf4bpp/ppcDepth.c +++ b/hw/xfree86/xf4bpp/ppcDepth.c @@ -30,6 +30,10 @@ * */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "scrnintstr.h" diff --git a/hw/xfree86/xf4bpp/ppcFillRct.c b/hw/xfree86/xf4bpp/ppcFillRct.c index ec9032e574..28c7acb6cc 100644 --- a/hw/xfree86/xf4bpp/ppcFillRct.c +++ b/hw/xfree86/xf4bpp/ppcFillRct.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcFillRct.c /main/5 1996/02/21 17:57:35 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcGC.c b/hw/xfree86/xf4bpp/ppcGC.c index 881dfbf05c..9877b4bbad 100644 --- a/hw/xfree86/xf4bpp/ppcGC.c +++ b/hw/xfree86/xf4bpp/ppcGC.c @@ -71,6 +71,10 @@ SOFTWARE. /* $XConsortium: ppcGC.c /main/6 1996/02/21 17:57:38 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcGCstr.h b/hw/xfree86/xf4bpp/ppcGCstr.h index 78273ca236..12a573c9d7 100644 --- a/hw/xfree86/xf4bpp/ppcGCstr.h +++ b/hw/xfree86/xf4bpp/ppcGCstr.h @@ -45,6 +45,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcGCstr.h /main/3 1996/02/21 17:57:42 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "gc.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcGetSp.c b/hw/xfree86/xf4bpp/ppcGetSp.c index 00cd985a7d..43f626f709 100644 --- a/hw/xfree86/xf4bpp/ppcGetSp.c +++ b/hw/xfree86/xf4bpp/ppcGetSp.c @@ -72,6 +72,10 @@ SOFTWARE. /* $XConsortium: ppcGetSp.c /main/5 1996/02/21 17:57:45 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/ppcIO.c b/hw/xfree86/xf4bpp/ppcIO.c index 6b6fb1c093..67eadfbf08 100644 --- a/hw/xfree86/xf4bpp/ppcIO.c +++ b/hw/xfree86/xf4bpp/ppcIO.c @@ -50,6 +50,10 @@ SOFTWARE. */ /* $XConsortium: ppcIO.c /main/8 1996/02/21 17:57:49 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcImg.c b/hw/xfree86/xf4bpp/ppcImg.c index 948359a308..71fcf38b16 100644 --- a/hw/xfree86/xf4bpp/ppcImg.c +++ b/hw/xfree86/xf4bpp/ppcImg.c @@ -24,6 +24,10 @@ /* $XConsortium: ppcImg.c /main/4 1996/02/21 17:57:53 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mi.h" diff --git a/hw/xfree86/xf4bpp/ppcPixFS.c b/hw/xfree86/xf4bpp/ppcPixFS.c index 957a881356..dd1bb31d9f 100644 --- a/hw/xfree86/xf4bpp/ppcPixFS.c +++ b/hw/xfree86/xf4bpp/ppcPixFS.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcPixFS.c /main/3 1996/02/21 17:57:57 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcPixmap.c b/hw/xfree86/xf4bpp/ppcPixmap.c index c3085bc4b2..1f66c58509 100644 --- a/hw/xfree86/xf4bpp/ppcPixmap.c +++ b/hw/xfree86/xf4bpp/ppcPixmap.c @@ -71,6 +71,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcPixmap.c /main/5 1996/02/21 17:58:00 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "servermd.h" #include "OScompiler.h" diff --git a/hw/xfree86/xf4bpp/ppcPntWin.c b/hw/xfree86/xf4bpp/ppcPntWin.c index f68dbdc19d..11195e0338 100644 --- a/hw/xfree86/xf4bpp/ppcPntWin.c +++ b/hw/xfree86/xf4bpp/ppcPntWin.c @@ -71,6 +71,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcPntWin.c /main/5 1996/02/21 17:58:04 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcPolyPnt.c b/hw/xfree86/xf4bpp/ppcPolyPnt.c index 568902925a..c786224822 100644 --- a/hw/xfree86/xf4bpp/ppcPolyPnt.c +++ b/hw/xfree86/xf4bpp/ppcPolyPnt.c @@ -70,6 +70,10 @@ SOFTWARE. */ /* $XConsortium: ppcPolyPnt.c /main/5 1996/02/21 17:58:07 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcPolyRec.c b/hw/xfree86/xf4bpp/ppcPolyRec.c index 8bb43eea44..085cb4b259 100644 --- a/hw/xfree86/xf4bpp/ppcPolyRec.c +++ b/hw/xfree86/xf4bpp/ppcPolyRec.c @@ -70,6 +70,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcPolyRec.c /main/4 1996/02/21 17:58:11 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" void diff --git a/hw/xfree86/xf4bpp/ppcQuery.c b/hw/xfree86/xf4bpp/ppcQuery.c index 267eef0efb..95914846dc 100644 --- a/hw/xfree86/xf4bpp/ppcQuery.c +++ b/hw/xfree86/xf4bpp/ppcQuery.c @@ -23,6 +23,10 @@ */ /* $XConsortium: ppcQuery.c /main/3 1996/02/21 17:58:18 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" void diff --git a/hw/xfree86/xf4bpp/ppcRslvC.c b/hw/xfree86/xf4bpp/ppcRslvC.c index 47e4277553..ce00a87995 100644 --- a/hw/xfree86/xf4bpp/ppcRslvC.c +++ b/hw/xfree86/xf4bpp/ppcRslvC.c @@ -57,6 +57,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. * P. Shupak 12/31/87 */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "scrnintstr.h" diff --git a/hw/xfree86/xf4bpp/ppcSetSp.c b/hw/xfree86/xf4bpp/ppcSetSp.c index 9c3464de1d..7d560988af 100644 --- a/hw/xfree86/xf4bpp/ppcSetSp.c +++ b/hw/xfree86/xf4bpp/ppcSetSp.c @@ -71,6 +71,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcSetSp.c /main/5 1996/02/21 17:58:32 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "mfbmap.h" diff --git a/hw/xfree86/xf4bpp/ppcWinFS.c b/hw/xfree86/xf4bpp/ppcWinFS.c index d7fd6b790e..820b80e53f 100644 --- a/hw/xfree86/xf4bpp/ppcWinFS.c +++ b/hw/xfree86/xf4bpp/ppcWinFS.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $XConsortium: ppcWinFS.c /main/3 1996/02/21 17:58:39 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/ppcWindow.c b/hw/xfree86/xf4bpp/ppcWindow.c index c15962aafd..4cf8ea3cb7 100644 --- a/hw/xfree86/xf4bpp/ppcWindow.c +++ b/hw/xfree86/xf4bpp/ppcWindow.c @@ -70,6 +70,10 @@ SOFTWARE. */ /* $XConsortium: ppcWindow.c /main/5 1996/02/21 17:58:43 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/vgaBitBlt.c b/hw/xfree86/xf4bpp/vgaBitBlt.c index dc7b7965a8..e133122331 100644 --- a/hw/xfree86/xf4bpp/vgaBitBlt.c +++ b/hw/xfree86/xf4bpp/vgaBitBlt.c @@ -5,6 +5,10 @@ /* $XConsortium: vgaBitBlt.c /main/8 1996/10/27 11:06:39 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "vgaReg.h" diff --git a/hw/xfree86/xf4bpp/vgaGC.c b/hw/xfree86/xf4bpp/vgaGC.c index a1aecafbbd..f7a3d94402 100644 --- a/hw/xfree86/xf4bpp/vgaGC.c +++ b/hw/xfree86/xf4bpp/vgaGC.c @@ -71,6 +71,10 @@ SOFTWARE. /* $XConsortium: vgaGC.c /main/6 1996/02/21 17:58:54 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "mfbmap.h" #include "mfb.h" diff --git a/hw/xfree86/xf4bpp/vgaImages.c b/hw/xfree86/xf4bpp/vgaImages.c index a03f21d2b2..4806b94612 100644 --- a/hw/xfree86/xf4bpp/vgaImages.c +++ b/hw/xfree86/xf4bpp/vgaImages.c @@ -23,6 +23,10 @@ */ /* $XConsortium: vgaImages.c /main/5 1996/02/21 17:58:58 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "vgaReg.h" diff --git a/hw/xfree86/xf4bpp/vgaReg.h b/hw/xfree86/xf4bpp/vgaReg.h index a3596e6a31..552f071407 100644 --- a/hw/xfree86/xf4bpp/vgaReg.h +++ b/hw/xfree86/xf4bpp/vgaReg.h @@ -35,6 +35,10 @@ SET_BYTE_REGISTER((RegGroup) + 1, Value)) /* There is a jumper on the ega to change this to 0x200 instead !! */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #if 0 /* This is now a stack variable, as needed */ #define REGBASE 0x300 #endif diff --git a/hw/xfree86/xf4bpp/vgaSolid.c b/hw/xfree86/xf4bpp/vgaSolid.c index 6cd15e9f59..5cb47173c7 100644 --- a/hw/xfree86/xf4bpp/vgaSolid.c +++ b/hw/xfree86/xf4bpp/vgaSolid.c @@ -24,6 +24,10 @@ /* $XConsortium: vgaSolid.c /main/5 1996/02/21 17:59:06 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "vgaReg.h" diff --git a/hw/xfree86/xf4bpp/vgaStipple.c b/hw/xfree86/xf4bpp/vgaStipple.c index 316b4a49b2..a7bfa13d21 100644 --- a/hw/xfree86/xf4bpp/vgaStipple.c +++ b/hw/xfree86/xf4bpp/vgaStipple.c @@ -23,6 +23,10 @@ */ /* $XConsortium: vgaStipple.c /main/5 1996/02/21 17:59:10 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "vgaReg.h" diff --git a/hw/xfree86/xf4bpp/vgaVideo.h b/hw/xfree86/xf4bpp/vgaVideo.h index f9642c0d42..1e613bb303 100644 --- a/hw/xfree86/xf4bpp/vgaVideo.h +++ b/hw/xfree86/xf4bpp/vgaVideo.h @@ -24,6 +24,10 @@ /* $XConsortium: vgaVideo.h /main/4 1996/02/21 17:59:14 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include /* GJA -- for pointer data type */ #ifdef lint #if defined(volatile) diff --git a/hw/xfree86/xf4bpp/vgamodule.c b/hw/xfree86/xf4bpp/vgamodule.c index 828989dd5a..932a856c21 100644 --- a/hw/xfree86/xf4bpp/vgamodule.c +++ b/hw/xfree86/xf4bpp/vgamodule.c @@ -25,6 +25,10 @@ * XFree86 Project. */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xf4bpp/wm3.c b/hw/xfree86/xf4bpp/wm3.c index f3acf8123a..6b501b570a 100644 --- a/hw/xfree86/xf4bpp/wm3.c +++ b/hw/xfree86/xf4bpp/wm3.c @@ -6,6 +6,10 @@ /* $XConsortium: wm3.c /main/5 1996/02/21 17:59:21 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "xf4bpp.h" #include "OScompiler.h" #include "wm3.h" diff --git a/hw/xfree86/xf4bpp/wm3.h b/hw/xfree86/xf4bpp/wm3.h index 1c7261eb9a..1def6f6079 100644 --- a/hw/xfree86/xf4bpp/wm3.h +++ b/hw/xfree86/xf4bpp/wm3.h @@ -6,6 +6,10 @@ /* $XConsortium: wm3.h /main/4 1996/02/21 17:59:24 kaleb $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "vgaReg.h" #ifdef PC98_EGC diff --git a/hw/xfree86/xf4bpp/xf4bpp.h b/hw/xfree86/xf4bpp/xf4bpp.h index 976f27e32d..8d6ccb644d 100644 --- a/hw/xfree86/xf4bpp/xf4bpp.h +++ b/hw/xfree86/xf4bpp/xf4bpp.h @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf4bpp/xf4bpp.h,v 1.9 2003/11/03 05:11:57 tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef __XF4BPP_H__ #define __XF4BPP_H__ @@ -8,7 +12,7 @@ #include "windowstr.h" #include "gcstruct.h" #include "colormapst.h" -#include "fontstruct.h" +#include #ifndef PixelType #define PixelType CARD32 #endif diff --git a/hw/xfree86/xf8_16bpp/cfb8_16.h b/hw/xfree86/xf8_16bpp/cfb8_16.h index 97586ba01c..b02000493a 100644 --- a/hw/xfree86/xf8_16bpp/cfb8_16.h +++ b/hw/xfree86/xf8_16bpp/cfb8_16.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_16bpp/cfb8_16.h,v 1.1 1999/01/31 12:22:16 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _CFB8_16_H #define _CFB8_16_H diff --git a/hw/xfree86/xf8_16bpp/cfb8_16module.c b/hw/xfree86/xf8_16bpp/cfb8_16module.c index 1a034980a4..93f9b0126f 100644 --- a/hw/xfree86/xf8_16bpp/cfb8_16module.c +++ b/hw/xfree86/xf8_16bpp/cfb8_16module.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xf8_16bpp/cfbscrinit.c b/hw/xfree86/xf8_16bpp/cfbscrinit.c index 06af87b571..a6bc2a67ee 100644 --- a/hw/xfree86/xf8_16bpp/cfbscrinit.c +++ b/hw/xfree86/xf8_16bpp/cfbscrinit.c @@ -6,6 +6,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_16bpp/cfbscrinit.c,v 1.7 2000/01/21 01:12:24 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/xf8_16bpp/cfbwindow.c b/hw/xfree86/xf8_16bpp/cfbwindow.c index f2253de28c..796311170f 100644 --- a/hw/xfree86/xf8_16bpp/cfbwindow.c +++ b/hw/xfree86/xf8_16bpp/cfbwindow.c @@ -6,6 +6,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_16bpp/cfbwindow.c,v 1.4tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfb8_32.h b/hw/xfree86/xf8_32bpp/cfb8_32.h index d992b77c5d..2785fa2520 100644 --- a/hw/xfree86/xf8_32bpp/cfb8_32.h +++ b/hw/xfree86/xf8_32bpp/cfb8_32.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfb8_32.h,v 1.5 2000/03/02 02:32:52 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _CFB8_32_H #define _CFB8_32_H diff --git a/hw/xfree86/xf8_32bpp/cfb8_32module.c b/hw/xfree86/xf8_32bpp/cfb8_32module.c index 7b27e498ae..6739b60fc3 100644 --- a/hw/xfree86/xf8_32bpp/cfb8_32module.c +++ b/hw/xfree86/xf8_32bpp/cfb8_32module.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfb8_32module.c,v 1.5 1999/01/24 13:32:42 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xf8_32bpp/cfbbstore.c b/hw/xfree86/xf8_32bpp/cfbbstore.c index 437f031cc2..842b872d70 100644 --- a/hw/xfree86/xf8_32bpp/cfbbstore.c +++ b/hw/xfree86/xf8_32bpp/cfbbstore.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbbstore.c,v 1.2 1999/01/31 12:22:17 dawes Exp $ */ #define PSZ 8 +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include "cfb.h" #undef PSZ #include "cfb32.h" diff --git a/hw/xfree86/xf8_32bpp/cfbcpyarea.c b/hw/xfree86/xf8_32bpp/cfbcpyarea.c index 7d4812841e..1a17220ab7 100644 --- a/hw/xfree86/xf8_32bpp/cfbcpyarea.c +++ b/hw/xfree86/xf8_32bpp/cfbcpyarea.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbcpyarea.c,v 1.5 2000/02/29 00:17:16 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/hw/xfree86/xf8_32bpp/cfbcpyplane.c b/hw/xfree86/xf8_32bpp/cfbcpyplane.c index 14b6f73508..011b9e7636 100644 --- a/hw/xfree86/xf8_32bpp/cfbcpyplane.c +++ b/hw/xfree86/xf8_32bpp/cfbcpyplane.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/xf8_32bpp/cfbgc.c b/hw/xfree86/xf8_32bpp/cfbgc.c index ba4e3db06d..d340e8c533 100644 --- a/hw/xfree86/xf8_32bpp/cfbgc.c +++ b/hw/xfree86/xf8_32bpp/cfbgc.c @@ -61,11 +61,15 @@ LOWMEMFTPT False False False False /* This gets built twice. Once for 8bpp and another for 32bpp */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfbgcmisc.c b/hw/xfree86/xf8_32bpp/cfbgcmisc.c index 9a3bfc5ef0..356b6cc9f1 100644 --- a/hw/xfree86/xf8_32bpp/cfbgcmisc.c +++ b/hw/xfree86/xf8_32bpp/cfbgcmisc.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include @@ -8,7 +12,7 @@ #undef PSZ #include "cfb32.h" #include "cfb8_32.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfbgcunder.c b/hw/xfree86/xf8_32bpp/cfbgcunder.c index cd30fcea39..79176c86a1 100644 --- a/hw/xfree86/xf8_32bpp/cfbgcunder.c +++ b/hw/xfree86/xf8_32bpp/cfbgcunder.c @@ -47,11 +47,15 @@ SOFTWARE. ******************************************************************/ #define PSZ 32 +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include #include "cfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfbimage.c b/hw/xfree86/xf8_32bpp/cfbimage.c index 25736fa74a..8b0ea4a78d 100644 --- a/hw/xfree86/xf8_32bpp/cfbimage.c +++ b/hw/xfree86/xf8_32bpp/cfbimage.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbimage.c,v 1.2 2000/02/25 00:21:40 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "pixmapstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfbpntwin.c b/hw/xfree86/xf8_32bpp/cfbpntwin.c index 1088a10f97..30ddb0c4b7 100644 --- a/hw/xfree86/xf8_32bpp/cfbpntwin.c +++ b/hw/xfree86/xf8_32bpp/cfbpntwin.c @@ -1,6 +1,10 @@ /* $XdotOrg: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbpntwin.c,v 1.3 2005/04/20 12:25:40 daniels Exp $ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbpntwin.c,v 1.1 1999/01/03 03:58:56 dawes Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/cfbscrinit.c b/hw/xfree86/xf8_32bpp/cfbscrinit.c index 19b13939b4..9deda1f5f4 100644 --- a/hw/xfree86/xf8_32bpp/cfbscrinit.c +++ b/hw/xfree86/xf8_32bpp/cfbscrinit.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbscrinit.c,v 1.11 2001/04/14 21:17:49 mvojkovi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/xf8_32bpp/cfbwindow.c b/hw/xfree86/xf8_32bpp/cfbwindow.c index 2ea23c59b1..78d7214951 100644 --- a/hw/xfree86/xf8_32bpp/cfbwindow.c +++ b/hw/xfree86/xf8_32bpp/cfbwindow.c @@ -1,6 +1,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfbwindow.c,v 1.8tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/hw/xfree86/xf8_32bpp/xf86overlay.c b/hw/xfree86/xf8_32bpp/xf86overlay.c index a45804e2e4..9b04eba43a 100644 --- a/hw/xfree86/xf8_32bpp/xf86overlay.c +++ b/hw/xfree86/xf8_32bpp/xf86overlay.c @@ -6,6 +6,10 @@ Written by Mark Vojkovich (mvojkovi@ucsd.edu) */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "xf86.h" #include "xf86_ansic.h" diff --git a/hw/xfree86/xf8_32wid/cfb8_32wid.h b/hw/xfree86/xf8_32wid/cfb8_32wid.h index 1d1093e54e..e1b81f9672 100644 --- a/hw/xfree86/xf8_32wid/cfb8_32wid.h +++ b/hw/xfree86/xf8_32wid/cfb8_32wid.h @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifndef _CFB8_32WID_H #define _CFB8_32WID_H diff --git a/hw/xfree86/xf8_32wid/cfb8_32widmodule.c b/hw/xfree86/xf8_32wid/cfb8_32widmodule.c index 95f8c9d027..ff7d3de151 100644 --- a/hw/xfree86/xf8_32wid/cfb8_32widmodule.c +++ b/hw/xfree86/xf8_32wid/cfb8_32widmodule.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/xf8_32wid/cfbscrinit.c b/hw/xfree86/xf8_32wid/cfbscrinit.c index ca4322e1a7..438ea08820 100644 --- a/hw/xfree86/xf8_32wid/cfbscrinit.c +++ b/hw/xfree86/xf8_32wid/cfbscrinit.c @@ -9,6 +9,10 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/xf8_32wid/cfbwid.c b/hw/xfree86/xf8_32wid/cfbwid.c index 8325810935..4fcd4725e1 100644 --- a/hw/xfree86/xf8_32wid/cfbwid.c +++ b/hw/xfree86/xf8_32wid/cfbwid.c @@ -1,5 +1,9 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include #include diff --git a/hw/xfree86/xf8_32wid/cfbwindow.c b/hw/xfree86/xf8_32wid/cfbwindow.c index 1000c65f15..2e0d026f13 100644 --- a/hw/xfree86/xf8_32wid/cfbwindow.c +++ b/hw/xfree86/xf8_32wid/cfbwindow.c @@ -9,6 +9,10 @@ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32wid/cfbwindow.c,v 1.2tsi Exp $ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/hw/xnest/Font.c b/hw/xnest/Font.c index f78234ea05..d5ce79f85a 100644 --- a/hw/xnest/Font.c +++ b/hw/xnest/Font.c @@ -19,8 +19,8 @@ is" without express or implied warranty. #include #include #include "regionstr.h" -#include "font.h" -#include "fontstruct.h" +#include +#include #include "scrnintstr.h" #include "Xnest.h" diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c index f9f8ab9a13..8ef90588fb 100644 --- a/hw/xnest/GC.c +++ b/hw/xnest/GC.c @@ -20,7 +20,7 @@ is" without express or implied warranty. #include "windowstr.h" #include "pixmapstr.h" #include "scrnintstr.h" -#include "fontstruct.h" +#include #include "mistruct.h" #include "region.h" diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c index b3cccc2d5c..0e80f7118a 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -17,7 +17,7 @@ is" without express or implied warranty. #include #include #include "regionstr.h" -#include "fontstruct.h" +#include #include "gcstruct.h" #include "scrnintstr.h" #include "windowstr.h" diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c index eaf1f5609d..3e9a4bd9bc 100644 --- a/hw/xnest/Init.c +++ b/hw/xnest/Init.c @@ -23,7 +23,7 @@ is" without express or implied warranty. #include "windowstr.h" #include "servermd.h" #include "mi.h" -#include "fontstruct.h" +#include #include "Xnest.h" diff --git a/ilbm/ilbm.h b/ilbm/ilbm.h index 7e015ebc42..eba35c200b 100644 --- a/ilbm/ilbm.h +++ b/ilbm/ilbm.h @@ -55,6 +55,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "pixmap.h" #include "region.h" #include "gc.h" diff --git a/ilbm/ilbmbitblt.c b/ilbm/ilbmbitblt.c index ad944025ea..11a0e07fb4 100644 --- a/ilbm/ilbmbitblt.c +++ b/ilbm/ilbmbitblt.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/ilbm/ilbmblt.c b/ilbm/ilbmblt.c index 1f84340122..9b11567cad 100644 --- a/ilbm/ilbmblt.c +++ b/ilbm/ilbmblt.c @@ -36,6 +36,10 @@ Author: Keith Packard /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/ilbm/ilbmbres.c b/ilbm/ilbmbres.c index e70e8507f9..1e27e0b93b 100644 --- a/ilbm/ilbmbres.c +++ b/ilbm/ilbmbres.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "ilbm.h" diff --git a/ilbm/ilbmbresd.c b/ilbm/ilbmbresd.c index aa15fb93bf..fad901e4a9 100644 --- a/ilbm/ilbmbresd.c +++ b/ilbm/ilbmbresd.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "ilbm.h" diff --git a/ilbm/ilbmbstore.c b/ilbm/ilbmbstore.c index af72db5491..56811792fb 100644 --- a/ilbm/ilbmbstore.c +++ b/ilbm/ilbmbstore.c @@ -34,6 +34,10 @@ from the X Consortium. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "ilbm.h" #include #include "mibstore.h" diff --git a/ilbm/ilbmclip.c b/ilbm/ilbmclip.c index 6aa654b171..704b5a9cd3 100644 --- a/ilbm/ilbmclip.c +++ b/ilbm/ilbmclip.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "miscstruct.h" #include "pixmapstr.h" diff --git a/ilbm/ilbmcmap.c b/ilbm/ilbmcmap.c index 37bfcfd484..e485fb6fe3 100644 --- a/ilbm/ilbmcmap.c +++ b/ilbm/ilbmcmap.c @@ -32,6 +32,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/ilbm/ilbmfillarc.c b/ilbm/ilbmfillarc.c index f61a016439..a5ab6c4a2b 100644 --- a/ilbm/ilbmfillarc.c +++ b/ilbm/ilbmfillarc.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "miscstruct.h" diff --git a/ilbm/ilbmfillrct.c b/ilbm/ilbmfillrct.c index 7343192402..6040460803 100644 --- a/ilbm/ilbmfillrct.c +++ b/ilbm/ilbmfillrct.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/ilbm/ilbmfillsp.c b/ilbm/ilbmfillsp.c index 95eb220ac6..321154330b 100644 --- a/ilbm/ilbmfillsp.c +++ b/ilbm/ilbmfillsp.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/ilbm/ilbmfont.c b/ilbm/ilbmfont.c index c39f0785d9..84ef8e5d14 100644 --- a/ilbm/ilbmfont.c +++ b/ilbm/ilbmfont.c @@ -51,11 +51,15 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ilbm.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" diff --git a/ilbm/ilbmgc.c b/ilbm/ilbmgc.c index 646ed1646f..f87f1fc9c7 100644 --- a/ilbm/ilbmgc.c +++ b/ilbm/ilbmgc.c @@ -51,12 +51,16 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ilbm.h" #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "gcstruct.h" #include "windowstr.h" #include "pixmapstr.h" diff --git a/ilbm/ilbmgetsp.c b/ilbm/ilbmgetsp.c index 16578fcd85..764e138a39 100644 --- a/ilbm/ilbmgetsp.c +++ b/ilbm/ilbmgetsp.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/ilbm/ilbmhrzvert.c b/ilbm/ilbmhrzvert.c index 7105e458b9..9612749cf9 100644 --- a/ilbm/ilbmhrzvert.c +++ b/ilbm/ilbmhrzvert.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gc.h" diff --git a/ilbm/ilbmimage.c b/ilbm/ilbmimage.c index ecaad90298..ddb19ac6a0 100644 --- a/ilbm/ilbmimage.c +++ b/ilbm/ilbmimage.c @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/ilbm/ilbmimage.c,v 3.0 1996/08/18 01:53:56 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) diff --git a/ilbm/ilbmimggblt.c b/ilbm/ilbmimggblt.c index b5802ae7d1..7fc1f31447 100644 --- a/ilbm/ilbmimggblt.c +++ b/ilbm/ilbmimggblt.c @@ -52,11 +52,15 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ilbm.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/ilbm/ilbmline.c b/ilbm/ilbmline.c index 5bf832a766..aa13fc1144 100644 --- a/ilbm/ilbmline.c +++ b/ilbm/ilbmline.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/ilbm/ilbmmisc.c b/ilbm/ilbmmisc.c index 195491a52d..86a6416498 100644 --- a/ilbm/ilbmmisc.c +++ b/ilbm/ilbmmisc.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "cursor.h" diff --git a/ilbm/ilbmpixmap.c b/ilbm/ilbmpixmap.c index 825b182674..bd977e627e 100644 --- a/ilbm/ilbmpixmap.c +++ b/ilbm/ilbmpixmap.c @@ -57,6 +57,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "pixmapstr.h" diff --git a/ilbm/ilbmply1rct.c b/ilbm/ilbmply1rct.c index 6fdef5d4ba..490551db7e 100644 --- a/ilbm/ilbmply1rct.c +++ b/ilbm/ilbmply1rct.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/ilbm/ilbmplygblt.c b/ilbm/ilbmplygblt.c index 173f7b9854..9b60e11006 100644 --- a/ilbm/ilbmplygblt.c +++ b/ilbm/ilbmplygblt.c @@ -52,11 +52,15 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ilbm.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/ilbm/ilbmpntarea.c b/ilbm/ilbmpntarea.c index 77de2c4800..f61f7fcf9a 100644 --- a/ilbm/ilbmpntarea.c +++ b/ilbm/ilbmpntarea.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/ilbm/ilbmpntwin.c b/ilbm/ilbmpntwin.c index 4d4c45816e..b12a121c82 100644 --- a/ilbm/ilbmpntwin.c +++ b/ilbm/ilbmpntwin.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/ilbm/ilbmpolypnt.c b/ilbm/ilbmpolypnt.c index 0dc6df674e..87666d7b69 100644 --- a/ilbm/ilbmpolypnt.c +++ b/ilbm/ilbmpolypnt.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/ilbm/ilbmpushpxl.c b/ilbm/ilbmpushpxl.c index 9f1b26ea2b..337172703f 100644 --- a/ilbm/ilbmpushpxl.c +++ b/ilbm/ilbmpushpxl.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "scrnintstr.h" diff --git a/ilbm/ilbmscrinit.c b/ilbm/ilbmscrinit.c index 8fb1baa32b..37425d0d69 100644 --- a/ilbm/ilbmscrinit.c +++ b/ilbm/ilbmscrinit.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include /* for xColorItem */ #include diff --git a/ilbm/ilbmsetsp.c b/ilbm/ilbmsetsp.c index 7b4f55a16b..fb73a78e60 100644 --- a/ilbm/ilbmsetsp.c +++ b/ilbm/ilbmsetsp.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/ilbm/ilbmtegblt.c b/ilbm/ilbmtegblt.c index 0f6a8e535a..c1c1eac49c 100644 --- a/ilbm/ilbmtegblt.c +++ b/ilbm/ilbmtegblt.c @@ -52,11 +52,15 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ilbm.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/ilbm/ilbmtile.c b/ilbm/ilbmtile.c index 4d9db06e99..b35d00028b 100644 --- a/ilbm/ilbmtile.c +++ b/ilbm/ilbmtile.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/ilbm/ilbmwindow.c b/ilbm/ilbmwindow.c index 74944ea54e..be84fcefb7 100644 --- a/ilbm/ilbmwindow.c +++ b/ilbm/ilbmwindow.c @@ -52,6 +52,10 @@ SOFTWARE. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/ilbm/ilbmzerarc.c b/ilbm/ilbmzerarc.c index f5a58ea5da..ad20d614b9 100644 --- a/ilbm/ilbmzerarc.c +++ b/ilbm/ilbmzerarc.c @@ -37,6 +37,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified jun 95 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) to use interleaved bitplanes instead of normal bitplanes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "miscstruct.h" diff --git a/include/XIstubs.h b/include/XIstubs.h index e005493c49..940604887b 100644 --- a/include/XIstubs.h +++ b/include/XIstubs.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XI_STUBS_H #define XI_STUBS_H 1 diff --git a/include/bstore.h b/include/bstore.h index 098abcd866..22dd02828e 100644 --- a/include/bstore.h +++ b/include/bstore.h @@ -15,6 +15,10 @@ * -- 1997.10.27 Marc Aurele La France (tsi@xfree86.org) */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _BSTORE_H_ #define _BSTORE_H_ diff --git a/include/bstorestr.h b/include/bstorestr.h index 8f21855c4f..8452396d07 100644 --- a/include/bstorestr.h +++ b/include/bstorestr.h @@ -15,6 +15,10 @@ * -- 1997.10.27 Marc Aurele La France (tsi@xfree86.org) */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _BSTORESTR_H_ #define _BSTORESTR_H_ diff --git a/include/closestr.h b/include/closestr.h index 0102a737f5..3ef8de48f7 100644 --- a/include/closestr.h +++ b/include/closestr.h @@ -29,6 +29,10 @@ from The Open Group. /* $XFree86: xc/programs/Xserver/include/closestr.h,v 3.4 2001/12/14 19:59:53 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CLOSESTR_H #define CLOSESTR_H diff --git a/include/closure.h b/include/closure.h index d80388bf46..b8f21f9d76 100644 --- a/include/closure.h +++ b/include/closure.h @@ -45,6 +45,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CLOSURE_H #define CLOSURE_H 1 diff --git a/include/colormap.h b/include/colormap.h index 1f2c33075c..baf3dcdb51 100644 --- a/include/colormap.h +++ b/include/colormap.h @@ -47,6 +47,10 @@ SOFTWARE. */ /* $Xorg: colormap.h,v 1.4 2001/02/09 02:05:14 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CMAP_H #define CMAP_H 1 diff --git a/include/colormapst.h b/include/colormapst.h index b176f7dc3a..519ead1f0a 100644 --- a/include/colormapst.h +++ b/include/colormapst.h @@ -45,6 +45,10 @@ SOFTWARE. */ /* $Xorg: colormapst.h,v 1.4 2001/02/09 02:05:14 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CMAPSTRUCT_H #define CMAPSTRUCT_H 1 diff --git a/include/cursor.h b/include/cursor.h index 5f9467a2bd..dc776bb1a8 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: cursor.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CURSOR_H #define CURSOR_H diff --git a/include/cursorstr.h b/include/cursorstr.h index c877d6cc94..b4ce35c6e8 100644 --- a/include/cursorstr.h +++ b/include/cursorstr.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/cursorstr.h,v 1.8 2002/11/30 06:21:51 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef CURSORSTRUCT_H #define CURSORSTRUCT_H diff --git a/include/dix.h b/include/dix.h index 1b8fc42655..1ad1cbc8aa 100644 --- a/include/dix.h +++ b/include/dix.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: dix.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIX_H #define DIX_H diff --git a/include/dixevents.h b/include/dixevents.h index 46a5faef0f..96ae171498 100644 --- a/include/dixevents.h +++ b/include/dixevents.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIXEVENTS_H #define DIXEVENTS_H diff --git a/include/dixfont.h b/include/dixfont.h index d3bb69b0a1..1d249b302a 100644 --- a/include/dixfont.h +++ b/include/dixfont.h @@ -23,13 +23,17 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/dixfont.h,v 3.7 2001/02/02 21:39:02 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIXFONT_H #define DIXFONT_H 1 #include "dix.h" -#include "font.h" +#include #include "closure.h" -#include "fontstruct.h" +#include #define NullDIXFontProp ((DIXFontPropPtr)0) diff --git a/include/dixfontstr.h b/include/dixfontstr.h index 757b8bbc44..ba696c56f5 100644 --- a/include/dixfontstr.h +++ b/include/dixfontstr.h @@ -22,12 +22,16 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIXFONTSTRUCT_H #define DIXFONTSTRUCT_H #include "servermd.h" #include "dixfont.h" -#include "fontstruct.h" +#include #include "closure.h" #define NEED_REPLIES #include /* for xQueryFontReply */ diff --git a/include/dixgrabs.h b/include/dixgrabs.h index 042e063db1..cb07c6d117 100644 --- a/include/dixgrabs.h +++ b/include/dixgrabs.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIXGRABS_H #define DIXGRABS_H 1 diff --git a/include/dixstruct.h b/include/dixstruct.h index d7d810272d..5c1281ab2e 100644 --- a/include/dixstruct.h +++ b/include/dixstruct.h @@ -23,6 +23,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: dixstruct.h,v 1.3 2000/08/17 19:53:29 cpqbld Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DIXSTRUCT_H #define DIXSTRUCT_H diff --git a/include/exevents.h b/include/exevents.h index 91c7acb6b8..fdd253c858 100644 --- a/include/exevents.h +++ b/include/exevents.h @@ -28,6 +28,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * Interface of 'exevents.c' */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXEVENTS_H #define EXEVENTS_H diff --git a/include/extension.h b/include/extension.h index 34750173bb..7d4e4accb8 100644 --- a/include/extension.h +++ b/include/extension.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/extension.h,v 1.5 2001/12/14 19:59:54 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXTENSION_H #define EXTENSION_H diff --git a/include/extinit.h b/include/extinit.h index 37fa9a2454..3dcf179e10 100644 --- a/include/extinit.h +++ b/include/extinit.h @@ -28,6 +28,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * Interface of extinit.c */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXTINIT_H #define EXTINIT_H diff --git a/include/extnsionst.h b/include/extnsionst.h index 5ed0099580..f830d03e29 100644 --- a/include/extnsionst.h +++ b/include/extnsionst.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/extnsionst.h,v 3.8 2003/04/27 21:31:04 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef EXTENSIONSTRUCT_H #define EXTENSIONSTRUCT_H diff --git a/include/gc.h b/include/gc.h index 77c2f20c68..b4a3b3af27 100644 --- a/include/gc.h +++ b/include/gc.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: gc.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GC_H #define GC_H diff --git a/include/gcstruct.h b/include/gcstruct.h index c2226ba178..a8f2ad0bed 100644 --- a/include/gcstruct.h +++ b/include/gcstruct.h @@ -49,6 +49,10 @@ SOFTWARE. /* $XFree86: xc/programs/Xserver/include/gcstruct.h,v 1.7 2003/04/27 21:31:04 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef GCSTRUCT_H #define GCSTRUCT_H diff --git a/include/globals.h b/include/globals.h index 924608e89b..7754091839 100644 --- a/include/globals.h +++ b/include/globals.h @@ -1,6 +1,10 @@ /* $XdotOrg: xc/programs/Xserver/include/globals.h,v 1.6 2005/05/19 18:53:49 ajax Exp $ */ /* $XFree86: xc/programs/Xserver/include/globals.h,v 1.3 1999/09/25 14:38:21 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XSERV_GLOBAL_H_ #define _XSERV_GLOBAL_H_ diff --git a/include/input.h b/include/input.h index 97adf6fb39..8cda1964b5 100644 --- a/include/input.h +++ b/include/input.h @@ -47,6 +47,10 @@ SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/include/input.h,v 3.8 2003/04/27 21:31:04 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef INPUT_H #define INPUT_H diff --git a/include/inputstr.h b/include/inputstr.h index b54e8a1d5d..9d0bf40578 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: inputstr.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef INPUTSTRUCT_H #define INPUTSTRUCT_H diff --git a/include/miscstruct.h b/include/miscstruct.h index 0ba871bc07..ec90dfb29b 100644 --- a/include/miscstruct.h +++ b/include/miscstruct.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/miscstruct.h,v 3.4 2003/04/27 21:31:04 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MISCSTRUCT_H #define MISCSTRUCT_H 1 diff --git a/include/opaque.h b/include/opaque.h index 09a3570f94..8d7408f8a4 100644 --- a/include/opaque.h +++ b/include/opaque.h @@ -28,6 +28,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/include/opaque.h,v 1.13 2003/07/24 13:50:25 eich Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef OPAQUE_H #define OPAQUE_H diff --git a/include/pixmap.h b/include/pixmap.h index 1777b2407f..dc0655ffc9 100644 --- a/include/pixmap.h +++ b/include/pixmap.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef PIXMAP_H #define PIXMAP_H diff --git a/include/pixmapstr.h b/include/pixmapstr.h index 22a1f10256..465e7bcb70 100644 --- a/include/pixmapstr.h +++ b/include/pixmapstr.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef PIXMAPSTRUCT_H #define PIXMAPSTRUCT_H #include "pixmap.h" diff --git a/include/property.h b/include/property.h index 21a38d51c3..6b89881120 100644 --- a/include/property.h +++ b/include/property.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/property.h,v 1.3 2001/12/14 19:59:55 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef PROPERTY_H #define PROPERTY_H diff --git a/include/propertyst.h b/include/propertyst.h index 24eed070e3..57759933d9 100644 --- a/include/propertyst.h +++ b/include/propertyst.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/propertyst.h,v 3.2 2001/01/17 22:36:57 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef PROPERTYSTRUCT_H #define PROPERTYSTRUCT_H #include diff --git a/include/region.h b/include/region.h index 64f0ff4440..0c67fe9ee6 100644 --- a/include/region.h +++ b/include/region.h @@ -45,6 +45,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef REGION_H #define REGION_H diff --git a/include/regionstr.h b/include/regionstr.h index 0af87bde85..dfee705a98 100644 --- a/include/regionstr.h +++ b/include/regionstr.h @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/regionstr.h,v 1.12tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef REGIONSTRUCT_H #define REGIONSTRUCT_H diff --git a/include/resource.h b/include/resource.h index ebd32e3592..e896bf0762 100644 --- a/include/resource.h +++ b/include/resource.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/resource.h,v 1.11 2002/03/06 21:14:04 mvojkovi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef RESOURCE_H #define RESOURCE_H 1 #include diff --git a/include/rgb.h b/include/rgb.h index 5741a4efa8..45f44d7387 100644 --- a/include/rgb.h +++ b/include/rgb.h @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: rgb.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef RGB_H #define RGB_H typedef struct _RGB { diff --git a/include/screenint.h b/include/screenint.h index aaa8086fbe..edd875e949 100644 --- a/include/screenint.h +++ b/include/screenint.h @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/screenint.h,v 1.5 2001/12/14 19:59:56 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SCREENINT_H #define SCREENINT_H diff --git a/include/scrnintstr.h b/include/scrnintstr.h index ef93586894..a0e103a4e6 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/scrnintstr.h,v 1.12 2003/04/27 21:31:05 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SCREENINTSTRUCT_H #define SCREENINTSTRUCT_H diff --git a/include/selection.h b/include/selection.h index 520cfd4aa6..fa6abca65e 100644 --- a/include/selection.h +++ b/include/selection.h @@ -1,4 +1,8 @@ /* $Xorg: selection.h,v 1.4 2001/02/09 02:05:16 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SELECTION_H #define SELECTION_H 1 diff --git a/include/servermd.h b/include/servermd.h index 66fe140342..e21eecf8c5 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: servermd.h,v 1.3 2000/08/17 19:53:31 cpqbld Exp $ */ /* $XdotOrg: xc/programs/Xserver/include/servermd.h,v 1.4 2005/05/21 07:46:38 alanc Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SERVERMD_H #define SERVERMD_H 1 diff --git a/include/site.h b/include/site.h index be8c003da3..5b0c69381a 100644 --- a/include/site.h +++ b/include/site.h @@ -47,6 +47,10 @@ SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/include/site.h,v 1.8 2001/12/19 21:37:35 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SITE_H #define SITE_H /* diff --git a/include/swaprep.h b/include/swaprep.h index 2c026c6595..cd04164be0 100644 --- a/include/swaprep.h +++ b/include/swaprep.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SWAPREP_H #define SWAPREP_H 1 diff --git a/include/swapreq.h b/include/swapreq.h index 9c59bbf843..b8455086d0 100644 --- a/include/swapreq.h +++ b/include/swapreq.h @@ -24,6 +24,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SWAPREQ_H #define SWAPREQ_H 1 diff --git a/include/validate.h b/include/validate.h index 467533d223..7d30b94a91 100644 --- a/include/validate.h +++ b/include/validate.h @@ -26,6 +26,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/include/validate.h,v 1.4 2001/01/17 22:36:58 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef VALIDATE_H #define VALIDATE_H diff --git a/include/window.h b/include/window.h index 2ffcab370c..1265727d5f 100644 --- a/include/window.h +++ b/include/window.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef WINDOW_H #define WINDOW_H diff --git a/include/windowstr.h b/include/windowstr.h index 89e3ee10b7..8e4b4e096f 100644 --- a/include/windowstr.h +++ b/include/windowstr.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/include/windowstr.h,v 1.6 2001/12/14 19:59:57 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef WINDOWSTRUCT_H #define WINDOWSTRUCT_H diff --git a/iplan2p4/ipl.h b/iplan2p4/ipl.h index d6cf45b143..356e433674 100644 --- a/iplan2p4/ipl.h +++ b/iplan2p4/ipl.h @@ -32,6 +32,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "pixmap.h" #include "region.h" diff --git a/iplan2p4/iplallpriv.c b/iplan2p4/iplallpriv.c index eadca0a017..23a13dbd19 100644 --- a/iplan2p4/iplallpriv.c +++ b/iplan2p4/iplallpriv.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplbitblt.c b/iplan2p4/iplbitblt.c index 7c157aad65..4bf64437e3 100644 --- a/iplan2p4/iplbitblt.c +++ b/iplan2p4/iplbitblt.c @@ -36,6 +36,10 @@ Author: Keith Packard /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/iplan2p4/iplblt.c b/iplan2p4/iplblt.c index 850ee5c438..85bcece139 100644 --- a/iplan2p4/iplblt.c +++ b/iplan2p4/iplblt.c @@ -36,6 +36,10 @@ Author: Keith Packard /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/iplan2p4/iplbres.c b/iplan2p4/iplbres.c index c3830649e9..a9d6966e93 100644 --- a/iplan2p4/iplbres.c +++ b/iplan2p4/iplbres.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "ipl.h" diff --git a/iplan2p4/iplbresd.c b/iplan2p4/iplbresd.c index 7ac7b1cdb3..d78ed4b615 100644 --- a/iplan2p4/iplbresd.c +++ b/iplan2p4/iplbresd.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "ipl.h" diff --git a/iplan2p4/iplbstore.c b/iplan2p4/iplbstore.c index 64874a4075..d2fc235131 100644 --- a/iplan2p4/iplbstore.c +++ b/iplan2p4/iplbstore.c @@ -16,6 +16,10 @@ * * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef lint static char rcsid[] = "$XConsortium: iplbstore.c,v 5.8 93/12/13 17:21:51 dpw Exp $ SPRITE (Berkeley)"; diff --git a/iplan2p4/iplcmap.c b/iplan2p4/iplcmap.c index a6e8f21844..0f3cdca148 100644 --- a/iplan2p4/iplcmap.c +++ b/iplan2p4/iplcmap.c @@ -32,6 +32,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/iplan2p4/iplfillarc.c b/iplan2p4/iplfillarc.c index 62571114aa..f62ff9f9ee 100644 --- a/iplan2p4/iplfillarc.c +++ b/iplan2p4/iplfillarc.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "miscstruct.h" diff --git a/iplan2p4/iplfillrct.c b/iplan2p4/iplfillrct.c index 40b9d435c0..a3301457bf 100644 --- a/iplan2p4/iplfillrct.c +++ b/iplan2p4/iplfillrct.c @@ -34,6 +34,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplfillsp.c b/iplan2p4/iplfillsp.c index 5bf0b0b508..863d369af3 100644 --- a/iplan2p4/iplfillsp.c +++ b/iplan2p4/iplfillsp.c @@ -81,6 +81,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplgc.c b/iplan2p4/iplgc.c index 925f349099..1cbcb75224 100644 --- a/iplan2p4/iplgc.c +++ b/iplan2p4/iplgc.c @@ -52,11 +52,15 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ipl.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/iplan2p4/iplgetsp.c b/iplan2p4/iplgetsp.c index 3478a8051f..619c438db0 100644 --- a/iplan2p4/iplgetsp.c +++ b/iplan2p4/iplgetsp.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplhrzvert.c b/iplan2p4/iplhrzvert.c index 621b55ba58..45faaa1cb7 100644 --- a/iplan2p4/iplhrzvert.c +++ b/iplan2p4/iplhrzvert.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gc.h" diff --git a/iplan2p4/iplimage.c b/iplan2p4/iplimage.c index 644fd3c071..5b72b885f4 100644 --- a/iplan2p4/iplimage.c +++ b/iplan2p4/iplimage.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "pixmapstr.h" diff --git a/iplan2p4/iplline.c b/iplan2p4/iplline.c index 19f230e072..19d078cb27 100644 --- a/iplan2p4/iplline.c +++ b/iplan2p4/iplline.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/iplan2p4/iplmap.h b/iplan2p4/iplmap.h index b188ec3ecf..cc065aa82a 100644 --- a/iplan2p4/iplmap.h +++ b/iplan2p4/iplmap.h @@ -37,6 +37,10 @@ interleaved planes */ /* a losing vendor cpp dumps core if we define NAME in terms of CATNAME */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if INTER_PLANES == 2 #define NAME(subname) ipl2p2##subname #elif INTER_PLANES == 4 diff --git a/iplan2p4/iplmergerop.h b/iplan2p4/iplmergerop.h index bd3736759b..09141c9830 100644 --- a/iplan2p4/iplmergerop.h +++ b/iplan2p4/iplmergerop.h @@ -1,4 +1,8 @@ /* $XFree86: xc/programs/Xserver/iplan2p4/iplmergerop.h,v 3.0 1996/08/18 01:54:53 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _IPLANMERGEROP_H_ #define _IPLANMERGEROP_H_ diff --git a/iplan2p4/iplmskbits.c b/iplan2p4/iplmskbits.c index d408b804e0..e611bd2935 100644 --- a/iplan2p4/iplmskbits.c +++ b/iplan2p4/iplmskbits.c @@ -1,6 +1,10 @@ /* $XFree86$ */ /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "iplmap.h" unsigned short iplmask[] = diff --git a/iplan2p4/iplmskbits.h b/iplan2p4/iplmskbits.h index 51bb263934..1efc47d440 100644 --- a/iplan2p4/iplmskbits.h +++ b/iplan2p4/iplmskbits.h @@ -42,6 +42,10 @@ extern INTER_PIXGRP iplendpartial[]; _IG(xor) = 0; \ }) +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if INTER_PLANES == 2 #define PLANE_TIMESCONDG(x) \ diff --git a/iplan2p4/iplpixmap.c b/iplan2p4/iplpixmap.c index 9a1e358522..324b161e28 100644 --- a/iplan2p4/iplpixmap.c +++ b/iplan2p4/iplpixmap.c @@ -56,6 +56,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "servermd.h" #include "scrnintstr.h" diff --git a/iplan2p4/iplply1rct.c b/iplan2p4/iplply1rct.c index 6d172a16b3..bac2be4ed4 100644 --- a/iplan2p4/iplply1rct.c +++ b/iplan2p4/iplply1rct.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/iplan2p4/iplpntwin.c b/iplan2p4/iplpntwin.c index d58d4bb1f2..8421ba377e 100644 --- a/iplan2p4/iplpntwin.c +++ b/iplan2p4/iplpntwin.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/iplan2p4/iplpolypnt.c b/iplan2p4/iplpolypnt.c index 3bcd48360e..61aea7ffd7 100644 --- a/iplan2p4/iplpolypnt.c +++ b/iplan2p4/iplpolypnt.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "windowstr.h" diff --git a/iplan2p4/iplrrop.c b/iplan2p4/iplrrop.c index dc3bad6a74..1b65fa9dcc 100644 --- a/iplan2p4/iplrrop.c +++ b/iplan2p4/iplrrop.c @@ -33,6 +33,10 @@ interleaved planes */ /* ipl reduced rasterop computations */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/iplan2p4/iplrrop.h b/iplan2p4/iplrrop.h index 31e7b79b1e..05a88fea48 100644 --- a/iplan2p4/iplrrop.h +++ b/iplan2p4/iplrrop.h @@ -9,6 +9,10 @@ interleaved planes */ #define INTER_RROP_FETCH_GC(gc) \ INTER_RROP_FETCH_GCPRIV(((iplPrivGCPtr)(gc)->devPrivates[iplGCPrivateIndex].ptr)) +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if RROP == GXcopy #define INTER_RROP_DECLARE register unsigned short *rrop_xor; #define INTER_RROP_FETCH_GCPRIV(devPriv) rrop_xor = (devPriv)->xorg; diff --git a/iplan2p4/iplscrinit.c b/iplan2p4/iplscrinit.c index 825d4f9d2d..073e7b9a4c 100644 --- a/iplan2p4/iplscrinit.c +++ b/iplan2p4/iplscrinit.c @@ -32,6 +32,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplsetsp.c b/iplan2p4/iplsetsp.c index 7ad378747b..e64dbf4e4f 100644 --- a/iplan2p4/iplsetsp.c +++ b/iplan2p4/iplsetsp.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplsolid.c b/iplan2p4/iplsolid.c index 7875f79033..768bf0ace2 100644 --- a/iplan2p4/iplsolid.c +++ b/iplan2p4/iplsolid.c @@ -31,6 +31,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/ipltegblt.c b/iplan2p4/ipltegblt.c index 167bc25a18..9a46e31c61 100644 --- a/iplan2p4/ipltegblt.c +++ b/iplan2p4/ipltegblt.c @@ -51,11 +51,15 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "ipl.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/iplan2p4/ipltile32.c b/iplan2p4/ipltile32.c index 5a5e040806..06be5a2e8b 100644 --- a/iplan2p4/ipltile32.c +++ b/iplan2p4/ipltile32.c @@ -35,6 +35,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/ipltileodd.c b/iplan2p4/ipltileodd.c index 32ffadbe4a..7230a5621b 100644 --- a/iplan2p4/ipltileodd.c +++ b/iplan2p4/ipltileodd.c @@ -35,6 +35,10 @@ in this Software without prior written authorization from the X Consortium. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/iplan2p4/iplwindow.c b/iplan2p4/iplwindow.c index c8cd4c1334..511e753b3f 100644 --- a/iplan2p4/iplwindow.c +++ b/iplan2p4/iplwindow.c @@ -51,6 +51,10 @@ SOFTWARE. /* Modified nov 94 by Martin Schaller (Martin_Schaller@maus.r.de) for use with interleaved planes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/lbx/lbxcmap.c b/lbx/lbxcmap.c index 8214136e95..e65f8efd21 100644 --- a/lbx/lbxcmap.c +++ b/lbx/lbxcmap.c @@ -27,6 +27,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxcmap.c,v 1.9 2001/08/23 14:46:57 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/lbx/lbxdata.h b/lbx/lbxdata.h index 8b5343bfd1..b577f6e501 100644 --- a/lbx/lbxdata.h +++ b/lbx/lbxdata.h @@ -22,6 +22,10 @@ * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LBXDATA_H_ #define _LBXDATA_H_ #define NEED_REPLIES diff --git a/lbx/lbxdix.c b/lbx/lbxdix.c index d3eb0af46a..9b12453b39 100644 --- a/lbx/lbxdix.c +++ b/lbx/lbxdix.c @@ -50,6 +50,10 @@ in this Software without prior written authorization from The Open Group. /* various bits of DIX-level mangling */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_REPLIES diff --git a/lbx/lbxexts.c b/lbx/lbxexts.c index 5750ba5b10..2dbd7e9aff 100644 --- a/lbx/lbxexts.c +++ b/lbx/lbxexts.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/lbx/lbxexts.c,v 1.2 2000/05/18 23:46:24 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/lbx/lbxgfx.c b/lbx/lbxgfx.c index f1c1623b0f..877ce8e052 100644 --- a/lbx/lbxgfx.c +++ b/lbx/lbxgfx.c @@ -25,6 +25,10 @@ /* various bits of DIX-level mangling */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_REPLIES diff --git a/lbx/lbxmain.c b/lbx/lbxmain.c index 92958feddc..f99e7af051 100644 --- a/lbx/lbxmain.c +++ b/lbx/lbxmain.c @@ -47,6 +47,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxmain.c,v 1.12 2001/10/28 03:34:12 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/lbx/lbxopts.c b/lbx/lbxopts.c index 619af011aa..53f5efed94 100644 --- a/lbx/lbxopts.c +++ b/lbx/lbxopts.c @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/lbx/lbxopts.c,v 1.5 2001/01/17 22:37:00 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef OPTDEBUG #include #endif diff --git a/lbx/lbxprop.c b/lbx/lbxprop.c index c762353138..09d818f0c7 100644 --- a/lbx/lbxprop.c +++ b/lbx/lbxprop.c @@ -50,6 +50,10 @@ in this Software without prior written authorization from The Open Group. /* various bits of DIX-level mangling */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_REPLIES diff --git a/lbx/lbxserve.h b/lbx/lbxserve.h index ed82f5aee2..195e985b3e 100644 --- a/lbx/lbxserve.h +++ b/lbx/lbxserve.h @@ -47,6 +47,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxserve.h,v 1.4 2001/08/01 00:44:58 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LBXSERVE_H_ #include "colormap.h" diff --git a/lbx/lbxsquish.c b/lbx/lbxsquish.c index 4503647663..65c66e7170 100644 --- a/lbx/lbxsquish.c +++ b/lbx/lbxsquish.c @@ -49,6 +49,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/lbx/lbxsquish.c,v 1.3 2001/01/17 22:37:00 dawes Exp $ */ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/lbx/lbxsrvopts.h b/lbx/lbxsrvopts.h index 8b04204527..9cf3d76306 100644 --- a/lbx/lbxsrvopts.h +++ b/lbx/lbxsrvopts.h @@ -23,6 +23,10 @@ */ /* $XFree86: xc/programs/Xserver/lbx/lbxsrvopts.h,v 1.2 2000/05/18 23:46:24 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LBX_SRVOPTS_H_ #define _LBX_SRVOPTS_H_ diff --git a/lbx/lbxswap.c b/lbx/lbxswap.c index 4c571fec9e..cfed6a4c5b 100644 --- a/lbx/lbxswap.c +++ b/lbx/lbxswap.c @@ -47,6 +47,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxswap.c,v 1.3 2001/01/17 22:37:00 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_REPLIES #define NEED_EVENTS diff --git a/lbx/lbxtables.c b/lbx/lbxtables.c index 26a635f6f9..5e8174eebd 100644 --- a/lbx/lbxtables.c +++ b/lbx/lbxtables.c @@ -22,6 +22,10 @@ * */ /* $XFree86: xc/programs/Xserver/lbx/lbxtables.c,v 1.2 2000/05/18 23:46:24 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "dix.h" extern int ProcInitialConnection(ClientPtr client); diff --git a/lbx/lbxtags.c b/lbx/lbxtags.c index 3fb654e38b..10a7ca4bb8 100644 --- a/lbx/lbxtags.c +++ b/lbx/lbxtags.c @@ -48,6 +48,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxtags.c,v 1.3 2001/01/17 22:37:00 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "lbxdata.h" diff --git a/lbx/lbxtags.h b/lbx/lbxtags.h index aef0934483..8577bd93c4 100644 --- a/lbx/lbxtags.h +++ b/lbx/lbxtags.h @@ -48,6 +48,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/lbx/lbxtags.h,v 1.3 2001/01/17 22:37:00 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LBXTAGS_H_ #define _LBXTAGS_H_ #include "lbxserve.h" diff --git a/lbx/lbxzerorep.c b/lbx/lbxzerorep.c index 7ca126c251..e376908c05 100644 --- a/lbx/lbxzerorep.c +++ b/lbx/lbxzerorep.c @@ -36,6 +36,10 @@ from The Open Group. */ #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mfb/fastblt.h b/mfb/fastblt.h index f25541f551..08846a41f4 100644 --- a/mfb/fastblt.h +++ b/mfb/fastblt.h @@ -47,6 +47,10 @@ from The Open Group. #define SwitchEven(n) case n: BodyEven(n) /* to allow mfb and cfb to share code... */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef BitRight #define BitRight(a,b) SCRRIGHT(a,b) #define BitLeft(a,b) SCRLEFT(a,b) diff --git a/mfb/maskbits.c b/mfb/maskbits.c index 0264dd45b4..d2a90962df 100644 --- a/mfb/maskbits.c +++ b/mfb/maskbits.c @@ -50,6 +50,10 @@ SOFTWARE. */ /* $XFree86: xc/programs/Xserver/mfb/maskbits.c,v 1.5 2001/01/17 22:37:01 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "maskbits.h" #include "servermd.h" diff --git a/mfb/maskbits.h b/mfb/maskbits.h index fa5ffca4d1..ed5cc26876 100644 --- a/mfb/maskbits.h +++ b/mfb/maskbits.h @@ -24,6 +24,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: maskbits.h,v 1.3 2000/08/17 19:53:34 cpqbld Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/mfb/mergerop.h b/mfb/mergerop.h index ba699466cb..c8652eb81a 100644 --- a/mfb/mergerop.h +++ b/mfb/mergerop.h @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/mfb/mergerop.h,v 3.13 2001/10/28 03:34:13 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MERGEROP_H_ #define _MERGEROP_H_ diff --git a/mfb/mfb.h b/mfb/mfb.h index 6e7ae43b32..ab537b028a 100644 --- a/mfb/mfb.h +++ b/mfb/mfb.h @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfb.h,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if !defined(_MFB_H_) || defined(MFB_PROTOTYPES_ONLY) #ifndef MFB_PROTOTYPES_ONLY #define _MFB_H_ diff --git a/mfb/mfbbitblt.c b/mfb/mfbbitblt.c index c10f4f9886..70e2a9934f 100644 --- a/mfb/mfbbitblt.c +++ b/mfb/mfbbitblt.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbbitblt.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mfb/mfbblt.c b/mfb/mfbblt.c index 6aff98cac4..ce77fe22ce 100644 --- a/mfb/mfbblt.c +++ b/mfb/mfbblt.c @@ -32,6 +32,10 @@ Author: Keith Packard */ /* $Xorg: mfbblt.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/mfb/mfbbres.c b/mfb/mfbbres.c index 21d867d1c9..b16569804f 100644 --- a/mfb/mfbbres.c +++ b/mfb/mfbbres.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbbres.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "mfb.h" diff --git a/mfb/mfbbresd.c b/mfb/mfbbresd.c index fa3b43462e..0c4a058d4e 100644 --- a/mfb/mfbbresd.c +++ b/mfb/mfbbresd.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbbresd.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "mfb.h" diff --git a/mfb/mfbbstore.c b/mfb/mfbbstore.c index d30c67ae7d..270aa78fdf 100644 --- a/mfb/mfbbstore.c +++ b/mfb/mfbbstore.c @@ -28,6 +28,10 @@ from The Open Group. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mfb.h" #include #include "mibstore.h" diff --git a/mfb/mfbclip.c b/mfb/mfbclip.c index 32e1da934c..5501f0d5c4 100644 --- a/mfb/mfbclip.c +++ b/mfb/mfbclip.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbclip.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "regionstr.h" #include "pixmapstr.h" diff --git a/mfb/mfbcmap.c b/mfb/mfbcmap.c index 15c73245f7..a16964e153 100644 --- a/mfb/mfbcmap.c +++ b/mfb/mfbcmap.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbcmap.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "colormapst.h" diff --git a/mfb/mfbfillarc.c b/mfb/mfbfillarc.c index 4e1e0623d5..a5442896f4 100644 --- a/mfb/mfbfillarc.c +++ b/mfb/mfbfillarc.c @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: mfbfillarc.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/mfb/mfbfillrct.c b/mfb/mfbfillrct.c index 13f57e0008..ba8a14283d 100644 --- a/mfb/mfbfillrct.c +++ b/mfb/mfbfillrct.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbfillrct.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/mfb/mfbfillsp.c b/mfb/mfbfillsp.c index 6c3a2b5061..f75ccb18d7 100644 --- a/mfb/mfbfillsp.c +++ b/mfb/mfbfillsp.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbfillsp.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/mfb/mfbfont.c b/mfb/mfbfont.c index e4ec62cbcd..3798cd22b1 100644 --- a/mfb/mfbfont.c +++ b/mfb/mfbfont.c @@ -45,11 +45,15 @@ SOFTWARE. */ /* $Xorg: mfbfont.c,v 1.4 2001/02/09 02:05:18 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "scrnintstr.h" diff --git a/mfb/mfbgc.c b/mfb/mfbgc.c index 2f46dced7b..c9ff20a45a 100644 --- a/mfb/mfbgc.c +++ b/mfb/mfbgc.c @@ -46,12 +46,16 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbgc.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mfb.h" #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "gcstruct.h" #include "windowstr.h" #include "pixmapstr.h" diff --git a/mfb/mfbgetsp.c b/mfb/mfbgetsp.c index bec9fc6419..fd6bbeb8dc 100644 --- a/mfb/mfbgetsp.c +++ b/mfb/mfbgetsp.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbgetsp.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mfb/mfbhrzvert.c b/mfb/mfbhrzvert.c index a8f25f127a..9a9d20dacc 100644 --- a/mfb/mfbhrzvert.c +++ b/mfb/mfbhrzvert.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbhrzvert.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gc.h" diff --git a/mfb/mfbimage.c b/mfb/mfbimage.c index b305a2cd43..2999057010 100644 --- a/mfb/mfbimage.c +++ b/mfb/mfbimage.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbimage.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/mfb/mfbimggblt.c b/mfb/mfbimggblt.c index 5f86b4cb5a..0c0d4140c8 100644 --- a/mfb/mfbimggblt.c +++ b/mfb/mfbimggblt.c @@ -47,11 +47,15 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbimggblt.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/mfb/mfbline.c b/mfb/mfbline.c index c30deedc7e..af7c27874d 100644 --- a/mfb/mfbline.c +++ b/mfb/mfbline.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbline.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/mfb/mfbmisc.c b/mfb/mfbmisc.c index d53dc2f738..98db7c1da5 100644 --- a/mfb/mfbmisc.c +++ b/mfb/mfbmisc.c @@ -45,6 +45,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbmisc.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "cursor.h" diff --git a/mfb/mfbpixmap.c b/mfb/mfbpixmap.c index 36055643dd..c3d5d5ea68 100644 --- a/mfb/mfbpixmap.c +++ b/mfb/mfbpixmap.c @@ -52,6 +52,10 @@ SOFTWARE. on a monchrome device, a pixmap is a bitmap. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "pixmapstr.h" diff --git a/mfb/mfbply1rct.c b/mfb/mfbply1rct.c index 6c2af609a9..9b783f6099 100644 --- a/mfb/mfbply1rct.c +++ b/mfb/mfbply1rct.c @@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/mfb/mfbply1rct.c,v 1.7tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" diff --git a/mfb/mfbplygblt.c b/mfb/mfbplygblt.c index e8bb8cbcea..275e8c6464 100644 --- a/mfb/mfbplygblt.c +++ b/mfb/mfbplygblt.c @@ -47,11 +47,15 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbplygblt.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/mfb/mfbpntarea.c b/mfb/mfbpntarea.c index c9aac2c369..0719e4ebd5 100644 --- a/mfb/mfbpntarea.c +++ b/mfb/mfbpntarea.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbpntarea.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/mfb/mfbpntwin.c b/mfb/mfbpntwin.c index e6dcdfdca7..d1c19b691c 100644 --- a/mfb/mfbpntwin.c +++ b/mfb/mfbpntwin.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/mfb/mfbpolypnt.c b/mfb/mfbpolypnt.c index e9cbbe36fb..e5ac4c8742 100644 --- a/mfb/mfbpolypnt.c +++ b/mfb/mfbpolypnt.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbpolypnt.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/mfb/mfbpushpxl.c b/mfb/mfbpushpxl.c index 511d6c22c4..1cbdf9a5b9 100644 --- a/mfb/mfbpushpxl.c +++ b/mfb/mfbpushpxl.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbpushpxl.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "scrnintstr.h" diff --git a/mfb/mfbscrclse.c b/mfb/mfbscrclse.c index 12ccf60793..55445932cb 100644 --- a/mfb/mfbscrclse.c +++ b/mfb/mfbscrclse.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/mfb/mfbscrclse.c,v 1.3tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mfb.h" #include "scrnintstr.h" diff --git a/mfb/mfbscrinit.c b/mfb/mfbscrinit.c index 2e83c9b6ea..9defac1dfb 100644 --- a/mfb/mfbscrinit.c +++ b/mfb/mfbscrinit.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbscrinit.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include /* for xColorItem */ #include diff --git a/mfb/mfbsetsp.c b/mfb/mfbsetsp.c index f796fd742d..d681bc37b1 100644 --- a/mfb/mfbsetsp.c +++ b/mfb/mfbsetsp.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbsetsp.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mfb/mfbtegblt.c b/mfb/mfbtegblt.c index 455e44c1b6..ac22aee0c4 100644 --- a/mfb/mfbtegblt.c +++ b/mfb/mfbtegblt.c @@ -49,11 +49,15 @@ SOFTWARE. /* $XFree86: xc/programs/Xserver/mfb/mfbtegblt.c,v 1.7 2001/01/17 22:37:03 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "mfb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/mfb/mfbtile.c b/mfb/mfbtile.c index 25a820b9a2..ecfa069526 100644 --- a/mfb/mfbtile.c +++ b/mfb/mfbtile.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mfbtile.c,v 1.4 2001/02/09 02:05:19 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" diff --git a/mfb/mfbwindow.c b/mfb/mfbwindow.c index 1f277e4b4d..56f3f468ac 100644 --- a/mfb/mfbwindow.c +++ b/mfb/mfbwindow.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" diff --git a/mfb/mfbzerarc.c b/mfb/mfbzerarc.c index 54d61bad1a..92fd81dfbc 100644 --- a/mfb/mfbzerarc.c +++ b/mfb/mfbzerarc.c @@ -33,6 +33,10 @@ in this Software without prior written authorization from The Open Group. * The Computer Journal, November 1967, Volume 10, Number 3, pp. 282-289 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/mi/mi.h b/mi/mi.h index 5d284cab1e..ad682a9151 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/mi/mi.h,v 3.9 2001/08/06 20:51:16 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MI_H #define MI_H #include @@ -54,7 +58,7 @@ SOFTWARE. #include "validate.h" #include "window.h" #include "gc.h" -#include "font.h" +#include #include "input.h" #include "cursor.h" diff --git a/mi/miarc.c b/mi/miarc.c index 0ab98d54ee..a1057788d8 100644 --- a/mi/miarc.c +++ b/mi/miarc.c @@ -50,6 +50,10 @@ SOFTWARE. /* Author: Keith Packard and Bob Scheifler */ /* Warning: this code is toxic, do not dally very long here. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \ || (defined(sun) && defined(__SVR4)) #include diff --git a/mi/mibank.c b/mi/mibank.c index 1f1087b88f..b09f9fd7c6 100644 --- a/mi/mibank.c +++ b/mi/mibank.c @@ -77,6 +77,10 @@ /* #define NO_ALLOCA 1 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "servermd.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/mi/mibank.h b/mi/mibank.h index cf27d1fae6..fb44ccc9bb 100644 --- a/mi/mibank.h +++ b/mi/mibank.h @@ -22,6 +22,10 @@ /* $XFree86: xc/programs/Xserver/mi/mibank.h,v 1.10 2003/01/01 19:16:42 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __MIBANK_H__ #define __MIBANK_H__ 1 diff --git a/mi/mibitblt.c b/mi/mibitblt.c index 58a59c8265..fe60b59bab 100644 --- a/mi/mibitblt.c +++ b/mi/mibitblt.c @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: mibitblt.c,v 1.5 2001/02/09 02:05:20 xorgcvs Exp $ */ /* Author: Todd Newman (aided and abetted by Mr. Drewry) */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mi/mibstore.c b/mi/mibstore.c index 7be84ef824..6db860d721 100644 --- a/mi/mibstore.c +++ b/mi/mibstore.c @@ -45,6 +45,10 @@ implied warranty. /* $XFree86: xc/programs/Xserver/mi/mibstore.c,v 1.10tsi Exp $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include @@ -54,7 +58,7 @@ implied warranty. #include "gcstruct.h" #include "windowstr.h" #include "pixmapstr.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "dixstruct.h" /* For requestingClient */ #include "mi.h" diff --git a/mi/mibstore.h b/mi/mibstore.h index fb58975c6d..366757f76c 100644 --- a/mi/mibstore.h +++ b/mi/mibstore.h @@ -18,6 +18,10 @@ /* $XFree86: xc/programs/Xserver/mi/mibstore.h,v 1.4 2001/01/17 22:37:06 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MIBSTORE_H #define _MIBSTORE_H diff --git a/mi/mibstorest.h b/mi/mibstorest.h index fec3c9712c..787b9d4f4f 100644 --- a/mi/mibstorest.h +++ b/mi/mibstorest.h @@ -33,6 +33,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/Xserver/mi/mibstorest.h,v 1.4 2001/01/17 22:37:06 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mibstore.h" #include "regionstr.h" diff --git a/mi/miclipn.c b/mi/miclipn.c index e9f43ab2a0..14ff0d69ad 100644 --- a/mi/miclipn.c +++ b/mi/miclipn.c @@ -28,6 +28,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/miclipn.c,v 1.3 2001/08/06 21:46:04 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "scrnintstr.h" diff --git a/mi/micmap.c b/mi/micmap.c index 1f3c67daea..98f3e521d3 100644 --- a/mi/micmap.c +++ b/mi/micmap.c @@ -36,6 +36,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "scrnintstr.h" diff --git a/mi/micmap.h b/mi/micmap.h index ca2a417bed..df5f6dc9ab 100644 --- a/mi/micmap.h +++ b/mi/micmap.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/mi/micmap.h,v 1.5 1999/06/14 07:32:11 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "colormapst.h" #ifndef _MICMAP_H_ diff --git a/mi/micoord.h b/mi/micoord.h index e4b242475d..9521fe0fe2 100644 --- a/mi/micoord.h +++ b/mi/micoord.h @@ -26,6 +26,10 @@ * */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MICOORD_H_ #define _MICOORD_H_ 1 diff --git a/mi/micursor.c b/mi/micursor.c index 8339e2230f..ce5778c379 100644 --- a/mi/micursor.c +++ b/mi/micursor.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: micursor.c,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "cursor.h" #include diff --git a/mi/midash.c b/mi/midash.c index 0152db7ca0..5def4d9c8d 100644 --- a/mi/midash.c +++ b/mi/midash.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: midash.c,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "regionstr.h" #include "mistruct.h" #include "mifpoly.h" diff --git a/mi/midispcur.c b/mi/midispcur.c index 2c3cfced47..007ae2519a 100644 --- a/mi/midispcur.c +++ b/mi/midispcur.c @@ -45,6 +45,10 @@ in this Software without prior written authorization from The Open Group. # include "mipointer.h" # include "misprite.h" # include "gcstruct.h" +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef ARGB_CURSOR # include "picturestr.h" #endif diff --git a/mi/miexpose.c b/mi/miexpose.c index 1750de1169..fdd2025ec1 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -76,6 +76,10 @@ Equipment Corporation. /* $Xorg: miexpose.c,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS #include diff --git a/mi/mifillarc.c b/mi/mifillarc.c index d49ae1d92d..0dcf25d055 100644 --- a/mi/mifillarc.c +++ b/mi/mifillarc.c @@ -29,6 +29,10 @@ Author: Bob Scheifler, MIT X Consortium /* $Xorg: mifillarc.c,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/mi/mifillarc.h b/mi/mifillarc.h index ff39bac1dc..52ea002727 100644 --- a/mi/mifillarc.h +++ b/mi/mifillarc.h @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. /* $Xorg: mifillarc.h,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __MIFILLARC_H__ #define __MIFILLARC_H__ diff --git a/mi/mifillrct.c b/mi/mifillrct.c index efaadae595..06d448f9ef 100644 --- a/mi/mifillrct.c +++ b/mi/mifillrct.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mifillrct.c,v 1.4 2001/02/09 02:05:20 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/mi/mifpoly.h b/mi/mifpoly.h index 79f606b4d7..a1521c6569 100644 --- a/mi/mifpoly.h +++ b/mi/mifpoly.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/mi/mifpoly.h,v 1.3 2001/10/25 12:03:47 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __MIFPOLY_H__ #define __MIFPOLY_H__ diff --git a/mi/mifpolycon.c b/mi/mifpolycon.c index d659c79676..40b83586f3 100644 --- a/mi/mifpolycon.c +++ b/mi/mifpolycon.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mifpolycon.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "gcstruct.h" diff --git a/mi/migc.c b/mi/migc.c index b5b33852a4..0cffe98a44 100644 --- a/mi/migc.c +++ b/mi/migc.c @@ -29,6 +29,10 @@ from The Open Group. /* $XFree86: xc/programs/Xserver/mi/migc.c,v 1.8 2001/08/06 20:51:18 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/mi/miglblt.c b/mi/miglblt.c index b1ae602504..12d0aa932c 100644 --- a/mi/miglblt.c +++ b/mi/miglblt.c @@ -48,11 +48,15 @@ SOFTWARE. /* $Xorg: miglblt.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "misc.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "gcstruct.h" #include "windowstr.h" diff --git a/mi/miinitext.c b/mi/miinitext.c index 12d6ddbde2..48e5338058 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -48,6 +48,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: miinitext.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "extension.h" #include "micmap.h" diff --git a/mi/miline.h b/mi/miline.h index f52a51ebda..a856038f5b 100644 --- a/mi/miline.h +++ b/mi/miline.h @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/miline.h,v 1.6 2001/08/06 20:51:19 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MILINE_H #include "screenint.h" diff --git a/mi/mioverlay.c b/mi/mioverlay.c index dfdfdecd7b..545927b538 100644 --- a/mi/mioverlay.c +++ b/mi/mioverlay.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/mi/mioverlay.c,v 3.15tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "validate.h" diff --git a/mi/mioverlay.h b/mi/mioverlay.h index 64045f45c1..a1d1e1a189 100644 --- a/mi/mioverlay.h +++ b/mi/mioverlay.h @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/mi/mioverlay.h,v 3.3 2000/02/29 00:16:03 mvojkovi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef __MIOVERLAY_H #define __MIOVERLAY_H diff --git a/mi/mipointer.c b/mi/mipointer.c index 85474f692e..db6f8bce9e 100644 --- a/mi/mipointer.c +++ b/mi/mipointer.c @@ -527,6 +527,10 @@ _miRegisterPointerDevice (pScreen, pDevice) } /* obsolete: for binary compatibility */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef miRegisterPointerDevice #undef miRegisterPointerDevice void diff --git a/mi/mipointer.h b/mi/mipointer.h index f8e7fd0844..7479548938 100644 --- a/mi/mipointer.h +++ b/mi/mipointer.h @@ -31,6 +31,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/mipointer.h,v 3.8 2001/08/06 20:51:19 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MIPOINTER_H #define MIPOINTER_H diff --git a/mi/mipointrst.h b/mi/mipointrst.h index 682f8ac881..b4dd2f6045 100644 --- a/mi/mipointrst.h +++ b/mi/mipointrst.h @@ -31,6 +31,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/mipointrst.h,v 1.3 2001/04/19 14:14:07 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mipointer.h" #include "scrnintstr.h" diff --git a/mi/mipoly.c b/mi/mipoly.c index 138552d14a..403d3da563 100644 --- a/mi/mipoly.c +++ b/mi/mipoly.c @@ -56,6 +56,10 @@ SOFTWARE. * to the appropriate routine to actually scan convert the * polygon. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "windowstr.h" #include "gcstruct.h" diff --git a/mi/mipolycon.c b/mi/mipolycon.c index de33045ef6..10c43a78ee 100644 --- a/mi/mipolycon.c +++ b/mi/mipolycon.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolycon.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "pixmap.h" #include "mi.h" diff --git a/mi/mipolygen.c b/mi/mipolygen.c index d63dfaec29..c3d9ef3970 100644 --- a/mi/mipolygen.c +++ b/mi/mipolygen.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolygen.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "miscanfill.h" diff --git a/mi/mipolypnt.c b/mi/mipolypnt.c index eec246df5a..5d615c28d9 100644 --- a/mi/mipolypnt.c +++ b/mi/mipolypnt.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolypnt.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "pixmapstr.h" diff --git a/mi/mipolyrect.c b/mi/mipolyrect.c index 6976f7d3cc..6740ea8f61 100644 --- a/mi/mipolyrect.c +++ b/mi/mipolyrect.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolyrect.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/mi/mipolyseg.c b/mi/mipolyseg.c index bb9259450c..dcf3d815a2 100644 --- a/mi/mipolyseg.c +++ b/mi/mipolyseg.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolyseg.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "regionstr.h" diff --git a/mi/mipolytext.c b/mi/mipolytext.c index d36fbd22a6..c2bbaba384 100644 --- a/mi/mipolytext.c +++ b/mi/mipolytext.c @@ -55,12 +55,16 @@ SOFTWARE. * Date: Thu Feb 5 1987 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include #include "misc.h" #include "gcstruct.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "mi.h" diff --git a/mi/mipolyutil.c b/mi/mipolyutil.c index b596914312..8bb736c94d 100644 --- a/mi/mipolyutil.c +++ b/mi/mipolyutil.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipolyutil.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "regionstr.h" #include "gc.h" #include "miscanfill.h" diff --git a/mi/mipushpxl.c b/mi/mipushpxl.c index 49409a2479..5fce1cae7d 100644 --- a/mi/mipushpxl.c +++ b/mi/mipushpxl.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mipushpxl.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "gcstruct.h" #include "scrnintstr.h" diff --git a/mi/miregion.c b/mi/miregion.c index ddb59fc2d3..df33248654 100644 --- a/mi/miregion.c +++ b/mi/miregion.c @@ -77,6 +77,10 @@ Equipment Corporation. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "regionstr.h" #include #include "gc.h" diff --git a/mi/miscanfill.h b/mi/miscanfill.h index 06baee399b..49058c1c99 100644 --- a/mi/miscanfill.h +++ b/mi/miscanfill.h @@ -28,6 +28,10 @@ from The Open Group. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef SCANFILLINCLUDED #define SCANFILLINCLUDED /* diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 2bb58b54aa..b6d8c3dbdf 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -28,6 +28,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/miscrinit.c,v 3.15tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "servermd.h" #include diff --git a/mi/mispans.c b/mi/mispans.c index 6885af2bed..c0b40b8daa 100644 --- a/mi/mispans.c +++ b/mi/mispans.c @@ -48,6 +48,10 @@ SOFTWARE. /* $Xorg: mispans.c,v 1.4 2001/02/09 02:05:21 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "pixmapstr.h" #include "gcstruct.h" diff --git a/mi/misprite.c b/mi/misprite.c index 64fd04eb5c..6c1ed1bb37 100644 --- a/mi/misprite.c +++ b/mi/misprite.c @@ -39,7 +39,7 @@ in this Software without prior written authorization from The Open Group. # include "input.h" # include "mi.h" # include "cursorstr.h" -# include "font.h" +# include # include "scrnintstr.h" # include "colormapst.h" # include "windowstr.h" @@ -47,7 +47,11 @@ in this Software without prior written authorization from The Open Group. # include "mipointer.h" # include "mispritest.h" # include "dixfontstr.h" -# include "fontstruct.h" +# include +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef RENDER # include "mipict.h" #endif diff --git a/mi/mispritest.h b/mi/mispritest.h index 7312d24762..dca1fa6199 100644 --- a/mi/mispritest.h +++ b/mi/mispritest.h @@ -32,6 +32,10 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/programs/Xserver/mi/mispritest.h,v 1.4 2001/01/17 22:37:07 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MISPRITEST_H_ #define _MISPRITEST_H_ diff --git a/mi/mistruct.h b/mi/mistruct.h index 98879b72d4..36a8107035 100644 --- a/mi/mistruct.h +++ b/mi/mistruct.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MISTRUCT_H #define MISTRUCT_H diff --git a/mi/mivalidate.h b/mi/mivalidate.h index c25e5d5bcb..612b67e1d4 100644 --- a/mi/mivalidate.h +++ b/mi/mivalidate.h @@ -29,6 +29,10 @@ from The Open Group. /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef MIVALIDATE_H #define MIVALIDATE_H diff --git a/mi/mivaltree.c b/mi/mivaltree.c index d9e7117779..6a7d6030ca 100644 --- a/mi/mivaltree.c +++ b/mi/mivaltree.c @@ -92,6 +92,10 @@ Equipment Corporation. * Bob Scheifler -- avoid miComputeClips for unmapped windows, * valdata changes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "validate.h" diff --git a/mi/miwideline.c b/mi/miwideline.c index 606ccd43ac..44cf18f2e2 100644 --- a/mi/miwideline.c +++ b/mi/miwideline.c @@ -35,6 +35,10 @@ from The Open Group. * bresenham zero-width lines, except walks an X edge */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #ifdef _XOPEN_SOURCE #include diff --git a/mi/miwideline.h b/mi/miwideline.h index 96d6aae861..cdfe624dbf 100644 --- a/mi/miwideline.h +++ b/mi/miwideline.h @@ -30,6 +30,10 @@ from The Open Group. /* Author: Keith Packard, MIT X Consortium */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mispans.h" #include "mifpoly.h" /* for ICEIL */ diff --git a/mi/miwindow.c b/mi/miwindow.c index 1ebb0cee21..280d0f8ebe 100644 --- a/mi/miwindow.c +++ b/mi/miwindow.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: miwindow.c,v 1.4 2001/02/09 02:05:22 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "regionstr.h" #include "region.h" diff --git a/mi/mizerarc.c b/mi/mizerarc.c index 282bf6df8e..62402f41be 100644 --- a/mi/mizerarc.c +++ b/mi/mizerarc.c @@ -35,6 +35,10 @@ Author: Bob Scheifler, MIT X Consortium * The Computer Journal, November 1967, Volume 10, Number 3, pp. 282-289 */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/mi/mizerclip.c b/mi/mizerclip.c index 1315fd2446..9c9a07e6d8 100644 --- a/mi/mizerclip.c +++ b/mi/mizerclip.c @@ -45,6 +45,10 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/mi/mizerline.c b/mi/mizerline.c index ad9e17b469..c88b62e81b 100644 --- a/mi/mizerline.c +++ b/mi/mizerline.c @@ -46,6 +46,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: mizerline.c,v 1.4 2001/02/09 02:05:22 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include diff --git a/miext/cw/cw.c b/miext/cw/cw.c index 72f96e13e1..2b8010f503 100644 --- a/miext/cw/cw.c +++ b/miext/cw/cw.c @@ -21,6 +21,10 @@ */ /* $Header$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "windowstr.h" #include "cw.h" diff --git a/miext/cw/cw.h b/miext/cw/cw.h index 20be802051..1f8c400e2b 100644 --- a/miext/cw/cw.h +++ b/miext/cw/cw.h @@ -21,6 +21,10 @@ */ /* $Header$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "picturestr.h" /* diff --git a/miext/cw/cw_ops.c b/miext/cw/cw_ops.c index 9df12d6d0b..80168a3361 100644 --- a/miext/cw/cw_ops.c +++ b/miext/cw/cw_ops.c @@ -21,6 +21,10 @@ */ /* $Header$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "cw.h" diff --git a/miext/cw/cw_render.c b/miext/cw/cw_render.c index 73d893b16f..82ca006d2c 100644 --- a/miext/cw/cw_render.c +++ b/miext/cw/cw_render.c @@ -21,6 +21,10 @@ */ /* $Header$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "gcstruct.h" #include "windowstr.h" #include "cw.h" diff --git a/miext/damage/damage.c b/miext/damage/damage.c index 31238cc4af..dfebffe909 100755 --- a/miext/damage/damage.c +++ b/miext/damage/damage.c @@ -22,15 +22,19 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/damage/damage.h b/miext/damage/damage.h index 7ed1b1823a..c760f6bef7 100755 --- a/miext/damage/damage.h +++ b/miext/damage/damage.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DAMAGE_H_ #define _DAMAGE_H_ diff --git a/miext/damage/damagestr.h b/miext/damage/damagestr.h index 39b50660a9..772a7ec35a 100755 --- a/miext/damage/damagestr.h +++ b/miext/damage/damagestr.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _DAMAGESTR_H_ #define _DAMAGESTR_H_ diff --git a/miext/layer/layer.h b/miext/layer/layer.h index 1cb410e4c9..e8f3a856ed 100644 --- a/miext/layer/layer.h +++ b/miext/layer/layer.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LAYER_H_ #define _LAYER_H_ diff --git a/miext/layer/layergc.c b/miext/layer/layergc.c index b0153b49b5..343edfcf56 100644 --- a/miext/layer/layergc.c +++ b/miext/layer/layergc.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "layerstr.h" GCFuncs layerGCFuncs = { diff --git a/miext/layer/layerinit.c b/miext/layer/layerinit.c index 615bed361f..994c6747c0 100644 --- a/miext/layer/layerinit.c +++ b/miext/layer/layerinit.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "layerstr.h" int layerScrPrivateIndex; diff --git a/miext/layer/layerpict.c b/miext/layer/layerpict.c index 1719edd7b3..16e46f0ab2 100644 --- a/miext/layer/layerpict.c +++ b/miext/layer/layerpict.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "layerstr.h" void diff --git a/miext/layer/layerstr.h b/miext/layer/layerstr.h index 91393adc4f..fb5a0d4116 100644 --- a/miext/layer/layerstr.h +++ b/miext/layer/layerstr.h @@ -22,15 +22,19 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _LAYERSTR_H_ #define _LAYERSTR_H_ #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/layer/layerwin.c b/miext/layer/layerwin.c index 1119e60489..7afe90ade4 100644 --- a/miext/layer/layerwin.c +++ b/miext/layer/layerwin.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "layerstr.h" static LayerListPtr diff --git a/miext/rootless/accel/rlAccel.c b/miext/rootless/accel/rlAccel.c index 0b81528573..188fd48725 100644 --- a/miext/rootless/accel/rlAccel.c +++ b/miext/rootless/accel/rlAccel.c @@ -35,6 +35,10 @@ * underneath this layer besides fb will get called. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "rootless.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlAccel.h b/miext/rootless/accel/rlAccel.h index b1488bdefb..a4402bdf2b 100644 --- a/miext/rootless/accel/rlAccel.h +++ b/miext/rootless/accel/rlAccel.h @@ -28,6 +28,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessCommon.c,v 1.4 2003/10/18 00:00:34 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" /* diff --git a/miext/rootless/accel/rlBlt.c b/miext/rootless/accel/rlBlt.c index ad4ebf199d..e5fa5f7bd2 100644 --- a/miext/rootless/accel/rlBlt.c +++ b/miext/rootless/accel/rlBlt.c @@ -28,6 +28,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbblt.c,v 1.8 2000/09/28 00:47:22 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rootlessCommon.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlCopy.c b/miext/rootless/accel/rlCopy.c index 46bca34f97..ccea7fbd3b 100644 --- a/miext/rootless/accel/rlCopy.c +++ b/miext/rootless/accel/rlCopy.c @@ -24,6 +24,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbcopy.c,v 1.12 2001/07/16 05:04:05 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlFill.c b/miext/rootless/accel/rlFill.c index 4409663c03..a6ed2fbbb6 100644 --- a/miext/rootless/accel/rlFill.c +++ b/miext/rootless/accel/rlFill.c @@ -24,6 +24,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfill.c,v 1.6 2003/01/31 00:01:45 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlFillRect.c b/miext/rootless/accel/rlFillRect.c index 34789aa27a..e4bab4f532 100644 --- a/miext/rootless/accel/rlFillRect.c +++ b/miext/rootless/accel/rlFillRect.c @@ -24,6 +24,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfillrect.c,v 1.2 2000/02/23 20:29:43 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlFillSpans.c b/miext/rootless/accel/rlFillSpans.c index 18a61a944a..9942d70e4d 100644 --- a/miext/rootless/accel/rlFillSpans.c +++ b/miext/rootless/accel/rlFillSpans.c @@ -24,6 +24,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbfillsp.c,v 1.2 2000/02/23 20:29:43 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlGlyph.c b/miext/rootless/accel/rlGlyph.c index 775032ed48..3f15719632 100644 --- a/miext/rootless/accel/rlGlyph.c +++ b/miext/rootless/accel/rlGlyph.c @@ -24,8 +24,12 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbglyph.c,v 1.12 2001/09/07 15:16:00 keithp Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" -#include "fontstruct.h" +#include #include "dixfontstr.h" #include "rlAccel.h" diff --git a/miext/rootless/accel/rlSolid.c b/miext/rootless/accel/rlSolid.c index 15aa2ae435..edce3d2c4b 100644 --- a/miext/rootless/accel/rlSolid.c +++ b/miext/rootless/accel/rlSolid.c @@ -28,6 +28,10 @@ */ /* $XFree86: xc/programs/Xserver/fb/fbsolid.c,v 1.8 2001/10/28 03:33:08 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "fb.h" #include "rootlessCommon.h" diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h index 7612f00fa2..dec0e2c643 100644 --- a/miext/rootless/rootless.h +++ b/miext/rootless/rootless.h @@ -29,6 +29,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootless.h,v 1.7 2004/07/02 01:30:33 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _ROOTLESS_H #define _ROOTLESS_H diff --git a/miext/rootless/rootlessCommon.c b/miext/rootless/rootlessCommon.c index b24d2a2267..33321105e9 100644 --- a/miext/rootless/rootlessCommon.c +++ b/miext/rootless/rootlessCommon.c @@ -30,6 +30,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessCommon.c,v 1.6 2004/07/02 01:30:33 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "rootlessCommon.h" unsigned int rootless_CopyBytes_threshold = 0; diff --git a/miext/rootless/rootlessCommon.h b/miext/rootless/rootlessCommon.h index b5fcae7f90..beb1fd6667 100644 --- a/miext/rootless/rootlessCommon.h +++ b/miext/rootless/rootlessCommon.h @@ -29,6 +29,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessCommon.h,v 1.5 2004/07/02 01:30:33 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _ROOTLESSCOMMON_H #define _ROOTLESSCOMMON_H diff --git a/miext/rootless/rootlessConfig.h b/miext/rootless/rootlessConfig.h index ccd0cc776f..eabbaef43c 100644 --- a/miext/rootless/rootlessConfig.h +++ b/miext/rootless/rootlessConfig.h @@ -28,6 +28,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessConfig.h,v 1.1 2003/04/15 01:05:44 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _ROOTLESSCONFIG_H #define _ROOTLESSCONFIG_H diff --git a/miext/rootless/rootlessGC.c b/miext/rootless/rootlessGC.c index fa10241f21..61987addb6 100644 --- a/miext/rootless/rootlessGC.c +++ b/miext/rootless/rootlessGC.c @@ -30,6 +30,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessGC.c,v 1.1 2003/04/15 01:05:44 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mi.h" #include "scrnintstr.h" #include "gcstruct.h" diff --git a/miext/rootless/rootlessScreen.c b/miext/rootless/rootlessScreen.c index 21c62c4ef6..6b7697383a 100644 --- a/miext/rootless/rootlessScreen.c +++ b/miext/rootless/rootlessScreen.c @@ -31,6 +31,10 @@ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessScreen.c,v 1.2 2003/04/30 23:15:35 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "mi.h" #include "scrnintstr.h" #include "gcstruct.h" diff --git a/miext/rootless/rootlessValTree.c b/miext/rootless/rootlessValTree.c index 51a2e99ad6..2717ddf6fd 100644 --- a/miext/rootless/rootlessValTree.c +++ b/miext/rootless/rootlessValTree.c @@ -90,6 +90,10 @@ Equipment Corporation. * Bob Scheifler -- avoid miComputeClips for unmapped windows, * valdata changes */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "validate.h" diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index 505db5ad50..f105a9113f 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c @@ -31,6 +31,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessWindow.c,v 1.12 2004/07/02 01:30:33 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "rootlessCommon.h" #include "rootlessWindow.h" diff --git a/miext/rootless/rootlessWindow.h b/miext/rootless/rootlessWindow.h index 6c26bace30..9cceed347c 100644 --- a/miext/rootless/rootlessWindow.h +++ b/miext/rootless/rootlessWindow.h @@ -28,6 +28,10 @@ */ /* $XFree86: xc/programs/Xserver/miext/rootless/rootlessWindow.h,v 1.1 2003/04/15 01:05:44 torrey Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _ROOTLESSWINDOW_H #define _ROOTLESSWINDOW_H diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c index 2c2a26201d..46ddfbb6c3 100644 --- a/miext/shadow/shadow.c +++ b/miext/shadow/shadow.c @@ -23,12 +23,16 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shadow.h b/miext/shadow/shadow.h index 85b2604f56..3d50b5a843 100644 --- a/miext/shadow/shadow.h +++ b/miext/shadow/shadow.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _SHADOW_H_ #define _SHADOW_H_ diff --git a/miext/shadow/shalloc.c b/miext/shadow/shalloc.c index 0514b9a2e1..5c01f2aac1 100644 --- a/miext/shadow/shalloc.c +++ b/miext/shadow/shalloc.c @@ -23,12 +23,16 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shpacked.c b/miext/shadow/shpacked.c index 5a19bcc4bf..3fdee1473f 100644 --- a/miext/shadow/shpacked.c +++ b/miext/shadow/shpacked.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shplanar.c b/miext/shadow/shplanar.c index e9fc784b43..979905b865 100644 --- a/miext/shadow/shplanar.c +++ b/miext/shadow/shplanar.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shplanar8.c b/miext/shadow/shplanar8.c index f2a2215edf..f1d87dc50d 100644 --- a/miext/shadow/shplanar8.c +++ b/miext/shadow/shplanar8.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shrot16pack.c b/miext/shadow/shrot16pack.c index 0928464f25..2ec41bb07e 100644 --- a/miext/shadow/shrot16pack.c +++ b/miext/shadow/shrot16pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate16 #define Data CARD16 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_180.c b/miext/shadow/shrot16pack_180.c index d51511260e..06b1603bab 100644 --- a/miext/shadow/shrot16pack_180.c +++ b/miext/shadow/shrot16pack_180.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_270.c b/miext/shadow/shrot16pack_270.c index ea22717b03..1ad952ec69 100644 --- a/miext/shadow/shrot16pack_270.c +++ b/miext/shadow/shrot16pack_270.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot16pack_90.c b/miext/shadow/shrot16pack_90.c index 71027d92a7..cfef7785c0 100644 --- a/miext/shadow/shrot16pack_90.c +++ b/miext/shadow/shrot16pack_90.c @@ -26,4 +26,8 @@ #define Data CARD16 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack.c b/miext/shadow/shrot32pack.c index 1415bab808..95c7c292c8 100644 --- a/miext/shadow/shrot32pack.c +++ b/miext/shadow/shrot32pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate32 #define Data CARD32 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_180.c b/miext/shadow/shrot32pack_180.c index 003aeecd86..cbadba59d5 100644 --- a/miext/shadow/shrot32pack_180.c +++ b/miext/shadow/shrot32pack_180.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_270.c b/miext/shadow/shrot32pack_270.c index 4f1f0d31f4..8f434b08e9 100644 --- a/miext/shadow/shrot32pack_270.c +++ b/miext/shadow/shrot32pack_270.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot32pack_90.c b/miext/shadow/shrot32pack_90.c index 7c3e781a87..98c22c37d2 100644 --- a/miext/shadow/shrot32pack_90.c +++ b/miext/shadow/shrot32pack_90.c @@ -26,4 +26,8 @@ #define Data CARD32 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack.c b/miext/shadow/shrot8pack.c index c59bc20784..9e77f43e80 100644 --- a/miext/shadow/shrot8pack.c +++ b/miext/shadow/shrot8pack.c @@ -25,4 +25,8 @@ #define FUNC shadowUpdateRotate8 #define Data CARD8 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_180.c b/miext/shadow/shrot8pack_180.c index 095843f132..6f4eca93ea 100644 --- a/miext/shadow/shrot8pack_180.c +++ b/miext/shadow/shrot8pack_180.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 180 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_270.c b/miext/shadow/shrot8pack_270.c index f558538ffc..d56a3366cf 100644 --- a/miext/shadow/shrot8pack_270.c +++ b/miext/shadow/shrot8pack_270.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 270 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrot8pack_90.c b/miext/shadow/shrot8pack_90.c index 108552f422..2fed8126d8 100644 --- a/miext/shadow/shrot8pack_90.c +++ b/miext/shadow/shrot8pack_90.c @@ -26,4 +26,8 @@ #define Data CARD8 #define ROTATE 90 +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "shrotpack.h" diff --git a/miext/shadow/shrotate.c b/miext/shadow/shrotate.c index f870ef05cc..927bc61be7 100644 --- a/miext/shadow/shrotate.c +++ b/miext/shadow/shrotate.c @@ -22,12 +22,16 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/miext/shadow/shrotpack.h b/miext/shadow/shrotpack.h index a3ef338eeb..062d8c3942 100644 --- a/miext/shadow/shrotpack.h +++ b/miext/shadow/shrotpack.h @@ -27,12 +27,16 @@ * orientations work. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include "windowstr.h" -#include "font.h" +#include #include "dixfontstr.h" -#include "fontstruct.h" +#include #include "mi.h" #include "regionstr.h" #include "globals.h" diff --git a/os/WaitFor.c b/os/WaitFor.c index 18eacbdba6..899ad42f70 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -56,6 +56,10 @@ SOFTWARE. * *****************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef WIN32 #include #endif diff --git a/os/access.c b/os/access.c index baad02fdaf..4e5f75f3f7 100644 --- a/os/access.c +++ b/os/access.c @@ -57,6 +57,10 @@ SOFTWARE. ******************************************************************/ /* $XFree86: xc/programs/Xserver/os/access.c,v 3.53 2004/01/02 18:23:19 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef WIN32 #include #endif diff --git a/os/auth.c b/os/auth.c index 8954f2869c..19c5534d3b 100644 --- a/os/auth.c +++ b/os/auth.c @@ -33,6 +33,10 @@ from The Open Group. * Author: Keith Packard, MIT X Consortium */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef K5AUTH # include #endif diff --git a/os/connection.c b/os/connection.c index 45063c8a63..fd40245777 100644 --- a/os/connection.c +++ b/os/connection.c @@ -63,11 +63,18 @@ SOFTWARE. * *****************************************************************/ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef WIN32 #include #endif #include #include +#define XSERV_t +#define TRANS_SERVER +#define TRANS_REOPEN #include #include #include diff --git a/os/io.c b/os/io.c index 4e9f696c62..87166fb795 100644 --- a/os/io.c +++ b/os/io.c @@ -55,6 +55,10 @@ SOFTWARE. *****************************************************************/ /* $XFree86: xc/programs/Xserver/os/io.c,v 3.34 2002/05/31 18:46:05 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #if 0 #define DEBUG_COMMUNICATION #endif diff --git a/os/k5auth.c b/os/k5auth.c index ebf16c9eb8..b23a3d4404 100644 --- a/os/k5auth.c +++ b/os/k5auth.c @@ -36,6 +36,10 @@ from The Open Group. * krb5 distribution. (At least the checking part) */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #ifdef TCPCONN diff --git a/os/lbxio.c b/os/lbxio.c index 21724b58c7..0a128df5bc 100644 --- a/os/lbxio.c +++ b/os/lbxio.c @@ -49,6 +49,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: lbxio.c,v 1.4 2001/02/09 02:05:23 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/os/log.c b/os/log.c index dc7642af23..4bebbe7840 100644 --- a/os/log.c +++ b/os/log.c @@ -78,6 +78,10 @@ OR PERFORMANCE OF THIS SOFTWARE. /* $XFree86: xc/programs/Xserver/os/log.c,v 1.6 2003/11/07 13:45:27 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/os/mitauth.c b/os/mitauth.c index dfaea35abf..9a806c02bc 100644 --- a/os/mitauth.c +++ b/os/mitauth.c @@ -33,6 +33,10 @@ from The Open Group. * Author: Keith Packard, MIT X Consortium */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "osdep.h" diff --git a/os/oscolor.c b/os/oscolor.c index bb927c4b60..65de9e4f52 100644 --- a/os/oscolor.c +++ b/os/oscolor.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: oscolor.c,v 1.4 2001/02/09 02:05:23 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef USE_RGB_TXT #ifdef NDBM diff --git a/os/osdep.h b/os/osdep.h index f1cc8b3a2d..1ede065521 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: osdep.h,v 1.5 2001/02/09 02:05:23 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _OSDEP_H_ #define _OSDEP_H_ 1 diff --git a/os/osinit.c b/os/osinit.c index 03a017b856..b820c91be1 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -47,6 +47,10 @@ SOFTWARE. ******************************************************************/ /* $Xorg: osinit.c,v 1.4 2001/02/09 02:05:23 xorgcvs Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/os/rpcauth.c b/os/rpcauth.c index 037a4facf2..71f87e9a4b 100644 --- a/os/rpcauth.c +++ b/os/rpcauth.c @@ -34,6 +34,10 @@ from The Open Group. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef SECURE_RPC #include diff --git a/os/secauth.c b/os/secauth.c index 553f50a3ac..ff057992f3 100644 --- a/os/secauth.c +++ b/os/secauth.c @@ -26,6 +26,10 @@ from The Open Group. */ /* $XFree86: xc/programs/Xserver/os/secauth.c,v 1.10 2001/08/01 00:44:59 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "osdep.h" diff --git a/os/strlcat.c b/os/strlcat.c index 7031de3a6a..28e2338f9d 100644 --- a/os/strlcat.c +++ b/os/strlcat.c @@ -18,6 +18,10 @@ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/os/strlcpy.c b/os/strlcpy.c index 71657da69b..42442cc30e 100644 --- a/os/strlcpy.c +++ b/os/strlcpy.c @@ -17,6 +17,10 @@ */ /* $XFree86$ */ +#ifdef HAVE_XORG_CONFIG_H +#include +#endif + #include #include diff --git a/os/utils.c b/os/utils.c index a94c294814..a3a0c99f60 100644 --- a/os/utils.c +++ b/os/utils.c @@ -52,6 +52,10 @@ OR PERFORMANCE OF THIS SOFTWARE. */ /* $XFree86: xc/programs/Xserver/os/utils.c,v 3.96 2004/01/07 04:16:37 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef __CYGWIN__ #include #include diff --git a/os/xalloc.c b/os/xalloc.c index f257cf41cc..c266ca5ab6 100644 --- a/os/xalloc.c +++ b/os/xalloc.c @@ -31,6 +31,10 @@ Pascal Haible. /* Only used if INTERNAL_MALLOC is defined * - otherwise xalloc() in utils.c is used */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef INTERNAL_MALLOC #include /* for malloc() etc. */ diff --git a/os/xdmauth.c b/os/xdmauth.c index 9c8bc2cdbc..f54c83da88 100644 --- a/os/xdmauth.c +++ b/os/xdmauth.c @@ -35,6 +35,10 @@ from The Open Group. * Author: Keith Packard, MIT X Consortium */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/os/xdmcp.c b/os/xdmcp.c index f90536b5fe..44994380b6 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -16,6 +16,10 @@ */ /* $XFree86: xc/programs/Xserver/os/xdmcp.c,v 3.31 2003/12/30 21:24:32 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef WIN32 #include #endif diff --git a/os/xprintf.c b/os/xprintf.c index 70051f26f2..bd8b1f3396 100644 --- a/os/xprintf.c +++ b/os/xprintf.c @@ -26,6 +26,10 @@ * holders shall not be used in advertising or otherwise to promote the sale, * use or other dealings in this Software without prior written authorization. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/randr/mirandr.c b/randr/mirandr.c index ac29485bba..b1e19a746e 100644 --- a/randr/mirandr.c +++ b/randr/mirandr.c @@ -25,6 +25,10 @@ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "mi.h" #include diff --git a/randr/randr.c b/randr/randr.c index db9c576017..f63abcb208 100644 --- a/randr/randr.c +++ b/randr/randr.c @@ -27,6 +27,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/randr/randrstr.h b/randr/randrstr.h index eecadd7b5e..cd4ce3846c 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _RANDRSTR_H_ #define _RANDRSTR_H_ diff --git a/record/record.c b/record/record.c index 55ae6934cd..5809e00864 100644 --- a/record/record.c +++ b/record/record.c @@ -36,6 +36,10 @@ and Jim Haggerty of Metheus. /* $XFree86: xc/programs/Xserver/record/record.c,v 1.11 2003/11/03 05:12:01 tsi Exp $ */ #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "dixstruct.h" #include "extnsionst.h" #define _XRECORD_SERVER_ diff --git a/record/set.c b/record/set.c index a239e4af02..3b494e74bd 100644 --- a/record/set.c +++ b/record/set.c @@ -51,6 +51,10 @@ from The Open Group. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef TESTING #include #else diff --git a/render/animcur.c b/render/animcur.c index 1e857574e5..e3915b2b8f 100644 --- a/render/animcur.c +++ b/render/animcur.c @@ -32,6 +32,10 @@ * delta times between each image. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include "servermd.h" diff --git a/render/filter.c b/render/filter.c index 5bd4efd565..d2e8bcc030 100644 --- a/render/filter.c +++ b/render/filter.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/render/glyph.c b/render/glyph.c index e224eab85a..f3056711ae 100644 --- a/render/glyph.c +++ b/render/glyph.c @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include "scrnintstr.h" #include diff --git a/render/glyphstr.h b/render/glyphstr.h index f4777a248a..f582343d97 100644 --- a/render/glyphstr.h +++ b/render/glyphstr.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _GLYPHSTR_H_ #define _GLYPHSTR_H_ diff --git a/render/miglyph.c b/render/miglyph.c index 72ff16bb2a..237ec13a41 100644 --- a/render/miglyph.c +++ b/render/miglyph.c @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/render/miindex.c b/render/miindex.c index d6032cd46c..03e2857a28 100644 --- a/render/miindex.c +++ b/render/miindex.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MIINDEX_H_ #define _MIINDEX_H_ diff --git a/render/mipict.c b/render/mipict.c index a16e88cd9a..81c775832b 100644 --- a/render/mipict.c +++ b/render/mipict.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/render/mipict.h b/render/mipict.h index e6e8b70fa4..c15d1e1c58 100644 --- a/render/mipict.h +++ b/render/mipict.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _MIPICT_H_ #define _MIPICT_H_ diff --git a/render/mirect.c b/render/mirect.c index d4b8522fa1..096bb5cb2f 100644 --- a/render/mirect.c +++ b/render/mirect.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/render/mitrap.c b/render/mitrap.c index 12aa88f064..be17124200 100644 --- a/render/mitrap.c +++ b/render/mitrap.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/render/mitri.c b/render/mitri.c index c81d531640..974225350c 100644 --- a/render/mitri.c +++ b/render/mitri.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "scrnintstr.h" #include "gcstruct.h" #include "pixmapstr.h" diff --git a/render/picture.c b/render/picture.c index 48faa9b243..e83b1d07da 100644 --- a/render/picture.c +++ b/render/picture.c @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/render/picture.h b/render/picture.h index b09d9aac2e..e04790374f 100644 --- a/render/picture.h +++ b/render/picture.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PICTURE_H_ #define _PICTURE_H_ diff --git a/render/picturestr.h b/render/picturestr.h index 58b840c6d7..681bd9663c 100644 --- a/render/picturestr.h +++ b/render/picturestr.h @@ -23,6 +23,10 @@ * Author: Keith Packard, SuSE, Inc. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _PICTURESTR_H_ #define _PICTURESTR_H_ diff --git a/render/render.c b/render/render.c index 6451ab803c..8ef3219800 100644 --- a/render/render.c +++ b/render/render.c @@ -26,6 +26,10 @@ #define NEED_REPLIES #define NEED_EVENTS +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/render/renderedge.c b/render/renderedge.c index b84eec14da..4534fe0952 100644 --- a/render/renderedge.c +++ b/render/renderedge.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "renderedge.h" /* diff --git a/render/renderedge.h b/render/renderedge.h index d621d9dcfe..20eeacc474 100644 --- a/render/renderedge.h +++ b/render/renderedge.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _RENDEREDGE_H_ #define _RENDEREDGE_H_ diff --git a/xfixes/cursor.c b/xfixes/cursor.c index 882022aad1..25b0fac6eb 100755 --- a/xfixes/cursor.c +++ b/xfixes/cursor.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xfixes/region.c b/xfixes/region.c index b0073f5b34..1ee2cd7440 100755 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xfixes/saveset.c b/xfixes/saveset.c index 3c93726ec2..780aeb57b1 100755 --- a/xfixes/saveset.c +++ b/xfixes/saveset.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xfixes/select.c b/xfixes/select.c index a40ef17738..71addd4709 100755 --- a/xfixes/select.c +++ b/xfixes/select.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xfixes/xfixes.c b/xfixes/xfixes.c index bf07f66f13..38e9b39c15 100755 --- a/xfixes/xfixes.c +++ b/xfixes/xfixes.c @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xfixes/xfixes.h b/xfixes/xfixes.h index e1e3e0942a..0f1e3b070f 100755 --- a/xfixes/xfixes.h +++ b/xfixes/xfixes.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XFIXES_H_ #define _XFIXES_H_ diff --git a/xfixes/xfixesint.h b/xfixes/xfixesint.h index 05ab77d3f6..079246797e 100755 --- a/xfixes/xfixesint.h +++ b/xfixes/xfixesint.h @@ -22,6 +22,10 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef _XFIXESINT_H_ #define _XFIXESINT_H_ diff --git a/xkb/XKBAlloc.c b/xkb/XKBAlloc.c index cc85b8f9e3..c415380ee7 100644 --- a/xkb/XKBAlloc.c +++ b/xkb/XKBAlloc.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/lib/X11/XKBAlloc.c,v 3.5 2001/01/17 19:41:48 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XKB_IN_SERVER #ifdef HAVE_CONFIG_H diff --git a/xkb/XKBGAlloc.c b/xkb/XKBGAlloc.c index a1c0d1be89..d5b9a1c934 100644 --- a/xkb/XKBGAlloc.c +++ b/xkb/XKBGAlloc.c @@ -29,6 +29,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #define NEED_EVENTS #define NEED_REPLIES +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XKB_IN_SERVER #ifdef HAVE_CONFIG_H diff --git a/xkb/XKBMAlloc.c b/xkb/XKBMAlloc.c index 9fe33e7deb..db0020691a 100644 --- a/xkb/XKBMAlloc.c +++ b/xkb/XKBMAlloc.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/lib/X11/XKBMAlloc.c,v 3.11 2001/01/17 19:41:48 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XKB_IN_SERVER #ifdef HAVE_CONFIG_H diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c index 987c6e33a5..6ad3641275 100644 --- a/xkb/XKBMisc.c +++ b/xkb/XKBMisc.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/lib/X11/XKBMisc.c,v 3.5 2001/10/28 03:32:33 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef XKB_IN_SERVER #ifdef HAVE_CONFIG_H diff --git a/xkb/ddxBeep.c b/xkb/ddxBeep.c index 665f0e5a2a..429d1e778f 100644 --- a/xkb/ddxBeep.c +++ b/xkb/ddxBeep.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxBeep.c,v 3.9 2002/12/05 21:59:00 paulo Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxConfig.c b/xkb/ddxConfig.c index c5e32d0b78..4f395d558f 100644 --- a/xkb/ddxConfig.c +++ b/xkb/ddxConfig.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxConfig.c,v 3.8 2002/12/20 20:18:35 paulo Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxCtrls.c b/xkb/ddxCtrls.c index 278cd1dc0b..2e4e106ce7 100644 --- a/xkb/ddxCtrls.c +++ b/xkb/ddxCtrls.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxCtrls.c,v 1.3 2001/01/17 22:37:14 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxDevBtn.c b/xkb/ddxDevBtn.c index f93934a77a..d0e37f263a 100644 --- a/xkb/ddxDevBtn.c +++ b/xkb/ddxDevBtn.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxDevBtn.c,v 3.3 2001/08/23 21:49:51 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxFakeBtn.c b/xkb/ddxFakeBtn.c index 540b722923..73c8a24151 100644 --- a/xkb/ddxFakeBtn.c +++ b/xkb/ddxFakeBtn.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxFakeMtn.c b/xkb/ddxFakeMtn.c index 93b58bd04f..be5324d0fe 100644 --- a/xkb/ddxFakeMtn.c +++ b/xkb/ddxFakeMtn.c @@ -27,6 +27,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxFakeMtn.c,v 1.5 2003/09/13 16:39:01 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxInit.c b/xkb/ddxInit.c index 75567486db..8b76b7cb1e 100644 --- a/xkb/ddxInit.c +++ b/xkb/ddxInit.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxKeyClick.c b/xkb/ddxKeyClick.c index 19a2ec9e19..c940e5321b 100644 --- a/xkb/ddxKeyClick.c +++ b/xkb/ddxKeyClick.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxKillSrv.c b/xkb/ddxKillSrv.c index 7a822fa20f..2e6ad6ee38 100644 --- a/xkb/ddxKillSrv.c +++ b/xkb/ddxKillSrv.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxKillSrv.c,v 1.3 2002/11/23 19:27:50 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxLEDs.c b/xkb/ddxLEDs.c index 5998f76148..fb5f72bf83 100644 --- a/xkb/ddxLEDs.c +++ b/xkb/ddxLEDs.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxList.c b/xkb/ddxList.c index 7e7c375ad9..3cb4be09df 100644 --- a/xkb/ddxList.c +++ b/xkb/ddxList.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxList.c,v 3.8 2003/07/16 01:39:05 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS 1 diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index 5ad593f4cb..5bad9cb319 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxLoad.c,v 3.35 2003/10/02 13:30:12 eich Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS 1 diff --git a/xkb/ddxPrivate.c b/xkb/ddxPrivate.c index 3a9f8ea0b7..b2b2dadc4e 100644 --- a/xkb/ddxPrivate.c +++ b/xkb/ddxPrivate.c @@ -1,5 +1,9 @@ /* $XFree86: xc/programs/Xserver/xkb/ddxPrivate.c,v 1.2 2003/04/03 16:20:22 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/ddxVT.c b/xkb/ddxVT.c index aa8cba00b1..9e0ac9dd26 100644 --- a/xkb/ddxVT.c +++ b/xkb/ddxVT.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/ddxVT.c,v 1.3 2002/11/23 19:27:50 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/maprules.c b/xkb/maprules.c index e7e369d2e9..03ca51eaa7 100644 --- a/xkb/maprules.c +++ b/xkb/maprules.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/maprules.c,v 3.17 2002/11/26 01:43:25 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkb.c b/xkb/xkb.c index ee478a3658..d347646c04 100644 --- a/xkb/xkb.c +++ b/xkb/xkb.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkb.c,v 3.22tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS @@ -36,7 +40,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #define XKBSRV_NEED_FILE_FUNCS #include #include "extnsionst.h" -#include "modinit.h" #include "xkb.h" #include diff --git a/xkb/xkbAccessX.c b/xkb/xkbAccessX.c index 6e519dc5a3..b31ca7ed52 100644 --- a/xkb/xkbAccessX.c +++ b/xkb/xkbAccessX.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbAccessX.c,v 1.9 2001/08/23 14:33:25 alanh Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #ifdef __QNX__ diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index 9198825dfd..2f229686e8 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -27,6 +27,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbActions.c,v 3.13 2003/07/16 01:39:08 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS 1 diff --git a/xkb/xkbDflts.h b/xkb/xkbDflts.h index 7ea30bde20..e3dd9cddad 100644 --- a/xkb/xkbDflts.h +++ b/xkb/xkbDflts.h @@ -2,6 +2,10 @@ /* $XFree86: xc/programs/Xserver/xkb/xkbDflts.h,v 1.2 2001/10/28 03:34:20 tsi Exp $ */ /* This file generated automatically by xkbcomp */ /* DO NOT EDIT */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifndef DEFAULT_H #define DEFAULT_H 1 diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 29ce818c1d..8305208a04 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbEvents.c,v 3.11 2003/07/16 01:39:10 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #define NEED_EVENTS 1 #include diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c index 35f9415d1e..3ff14cca5a 100644 --- a/xkb/xkbInit.c +++ b/xkb/xkbInit.c @@ -27,6 +27,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbInit.c,v 3.32tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/xkb/xkbLEDs.c b/xkb/xkbLEDs.c index 212048ac8d..0b4fcaeab9 100644 --- a/xkb/xkbLEDs.c +++ b/xkb/xkbLEDs.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbLEDs.c,v 3.7 2003/07/16 01:39:10 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/xkb/xkbPrKeyEv.c b/xkb/xkbPrKeyEv.c index 71cc3e403a..ec850d89cc 100644 --- a/xkb/xkbPrKeyEv.c +++ b/xkb/xkbPrKeyEv.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbPrKeyEv.c,v 3.8 2001/01/17 22:37:15 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS 1 diff --git a/xkb/xkbPrOtherEv.c b/xkb/xkbPrOtherEv.c index 1e2773f645..f69ff00d6c 100644 --- a/xkb/xkbPrOtherEv.c +++ b/xkb/xkbPrOtherEv.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86$ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #define NEED_EVENTS 1 diff --git a/xkb/xkbSwap.c b/xkb/xkbSwap.c index 6353294458..193a4f4633 100644 --- a/xkb/xkbSwap.c +++ b/xkb/xkbSwap.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbSwap.c,v 3.4 2003/09/13 16:39:01 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include "stdio.h" #include #define NEED_EVENTS diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c index c4ff1ca3fc..d655efc755 100644 --- a/xkb/xkbUtils.c +++ b/xkb/xkbUtils.c @@ -26,6 +26,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /* $XFree86: xc/programs/Xserver/xkb/xkbUtils.c,v 3.16 2003/11/03 05:12:02 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #include #include #include diff --git a/xkb/xkbconfig.c b/xkb/xkbconfig.c index 3c01fa8b2b..3d582d1fb2 100644 --- a/xkb/xkbconfig.c +++ b/xkb/xkbconfig.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkbconfig.c,v 3.7 2001/11/30 12:11:51 eich Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkberrs.c b/xkb/xkberrs.c index 08b44f2a3c..731d0b5cfc 100644 --- a/xkb/xkberrs.c +++ b/xkb/xkberrs.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkberrs.c,v 3.4 2001/07/29 05:01:13 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkbfmisc.c b/xkb/xkbfmisc.c index c1d1368203..f55ab5bdf5 100644 --- a/xkb/xkbfmisc.c +++ b/xkb/xkbfmisc.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkbmisc.c,v 1.7 2003/07/16 02:31:10 dawes Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkbout.c b/xkb/xkbout.c index 059959a3e9..cdf699509f 100644 --- a/xkb/xkbout.c +++ b/xkb/xkbout.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkbout.c,v 3.9 2001/10/28 03:32:47 tsi Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkbtext.c b/xkb/xkbtext.c index 86df1cb82a..0df7c894b4 100644 --- a/xkb/xkbtext.c +++ b/xkb/xkbtext.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkbtext.c,v 3.11 2002/12/21 18:49:02 paulo Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif diff --git a/xkb/xkmread.c b/xkb/xkmread.c index a69058a5c8..3f38a4f962 100644 --- a/xkb/xkmread.c +++ b/xkb/xkmread.c @@ -26,6 +26,10 @@ ********************************************************/ /* $XFree86: xc/lib/xkbfile/xkmread.c,v 1.6 2002/02/13 22:09:42 herrb Exp $ */ +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + #ifdef HAVE_CONFIG_H #include #endif