diff options
author | Kevin E Martin <kem@kem.org> | 2005-07-16 03:49:59 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-07-16 03:49:59 +0000 |
commit | 5f81eb1d89f623dd9281e686a4d4d4f403e459c6 (patch) | |
tree | 48af6c32b1288fb1186b0c6bb51b3d8a2577275e | |
parent | 0635acab08bade9bfd9d2abd3ea5a3fe525bc647 (diff) |
Fix the *-config.h includes so that it is possible to build modules without
having to use -include in the Makefile.
-rw-r--r-- | hw/xfree86/dixmods/GLcoremodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/afbmodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/dbemodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/modinit.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/xf86dga.c | 8 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/xf86dga2.c | 8 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/xf86misc.c | 8 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/xf86vmode.c | 8 | ||||
-rw-r--r-- | hw/xfree86/dixmods/extmod/xvmod.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/fbmodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/glxmodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/laymodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/mfbmodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/recordmod.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dixmods/shmodule.c | 4 | ||||
-rw-r--r-- | mi/miinitext.c | 4 | ||||
-rw-r--r-- | xkb/ddxKillSrv.c | 4 | ||||
-rw-r--r-- | xkb/ddxPrivate.c | 4 | ||||
-rw-r--r-- | xkb/ddxVT.c | 4 |
19 files changed, 44 insertions, 48 deletions
diff --git a/hw/xfree86/dixmods/GLcoremodule.c b/hw/xfree86/dixmods/GLcoremodule.c index 666ce52ce..4e03b59fe 100644 --- a/hw/xfree86/dixmods/GLcoremodule.c +++ b/hw/xfree86/dixmods/GLcoremodule.c @@ -32,8 +32,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/afbmodule.c b/hw/xfree86/dixmods/afbmodule.c index 74dca9a26..d9cdbf9c3 100644 --- a/hw/xfree86/dixmods/afbmodule.c +++ b/hw/xfree86/dixmods/afbmodule.c @@ -29,10 +29,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/dbemodule.c b/hw/xfree86/dixmods/dbemodule.c index 218b28cec..7daa838eb 100644 --- a/hw/xfree86/dixmods/dbemodule.c +++ b/hw/xfree86/dixmods/dbemodule.c @@ -4,10 +4,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #include "xf86Module.h" static MODULESETUPPROTO(dbeSetup); diff --git a/hw/xfree86/dixmods/extmod/modinit.c b/hw/xfree86/dixmods/extmod/modinit.c index 88d3f6c2e..68caa4b02 100644 --- a/hw/xfree86/dixmods/extmod/modinit.c +++ b/hw/xfree86/dixmods/extmod/modinit.c @@ -23,8 +23,8 @@ * PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif #ifdef XFree86LOADER diff --git a/hw/xfree86/dixmods/extmod/xf86dga.c b/hw/xfree86/dixmods/extmod/xf86dga.c index 9c55d8731..9979bfb30 100644 --- a/hw/xfree86/dixmods/extmod/xf86dga.c +++ b/hw/xfree86/dixmods/extmod/xf86dga.c @@ -7,12 +7,12 @@ Copyright (c) 1995, 1996, 1999 XFree86 Inc */ -#define NEED_REPLIES -#define NEED_EVENTS -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif +#define NEED_REPLIES +#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/hw/xfree86/dixmods/extmod/xf86dga2.c b/hw/xfree86/dixmods/extmod/xf86dga2.c index ee3600f1a..a5cab0f11 100644 --- a/hw/xfree86/dixmods/extmod/xf86dga2.c +++ b/hw/xfree86/dixmods/extmod/xf86dga2.c @@ -6,12 +6,12 @@ /* $XFree86: xc/programs/Xserver/Xext/xf86dga2.c,v 1.17 2001/10/28 03:32:51 tsi Exp $ */ -#define NEED_REPLIES -#define NEED_EVENTS -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif +#define NEED_REPLIES +#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/hw/xfree86/dixmods/extmod/xf86misc.c b/hw/xfree86/dixmods/extmod/xf86misc.c index 176401b13..a5dc2e212 100644 --- a/hw/xfree86/dixmods/extmod/xf86misc.c +++ b/hw/xfree86/dixmods/extmod/xf86misc.c @@ -6,12 +6,12 @@ /* THIS IS NOT AN X CONSORTIUM STANDARD */ -#define NEED_REPLIES -#define NEED_EVENTS -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif +#define NEED_REPLIES +#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/hw/xfree86/dixmods/extmod/xf86vmode.c b/hw/xfree86/dixmods/extmod/xf86vmode.c index 11e01757a..50575cc05 100644 --- a/hw/xfree86/dixmods/extmod/xf86vmode.c +++ b/hw/xfree86/dixmods/extmod/xf86vmode.c @@ -33,12 +33,12 @@ from Kaleb S. KEITHLEY /* $Xorg: xf86vmode.c,v 1.3 2000/08/17 19:47:59 cpqbld Exp $ */ /* THIS IS NOT AN X CONSORTIUM STANDARD OR AN X PROJECT TEAM SPECIFICATION */ -#define NEED_REPLIES -#define NEED_EVENTS -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif +#define NEED_REPLIES +#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/hw/xfree86/dixmods/extmod/xvmod.c b/hw/xfree86/dixmods/extmod/xvmod.c index 777504978..7899f3a75 100644 --- a/hw/xfree86/dixmods/extmod/xvmod.c +++ b/hw/xfree86/dixmods/extmod/xvmod.c @@ -1,7 +1,7 @@ /* $XFree86: xc/programs/Xserver/Xext/xvmod.c,v 1.1 1998/08/13 14:45:36 dawes Exp $ */ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif #include <X11/X.h> diff --git a/hw/xfree86/dixmods/fbmodule.c b/hw/xfree86/dixmods/fbmodule.c index 50cce798c..80d99933a 100644 --- a/hw/xfree86/dixmods/fbmodule.c +++ b/hw/xfree86/dixmods/fbmodule.c @@ -29,10 +29,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/glxmodule.c b/hw/xfree86/dixmods/glxmodule.c index 853d49b0f..1c4f10656 100644 --- a/hw/xfree86/dixmods/glxmodule.c +++ b/hw/xfree86/dixmods/glxmodule.c @@ -33,6 +33,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + #include "xf86Module.h" #include "colormap.h" #include "micmap.h" diff --git a/hw/xfree86/dixmods/laymodule.c b/hw/xfree86/dixmods/laymodule.c index 5bcd101aa..5af41617a 100644 --- a/hw/xfree86/dixmods/laymodule.c +++ b/hw/xfree86/dixmods/laymodule.c @@ -26,10 +26,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/mfbmodule.c b/hw/xfree86/dixmods/mfbmodule.c index dc9fddc5b..be3b9eed0 100644 --- a/hw/xfree86/dixmods/mfbmodule.c +++ b/hw/xfree86/dixmods/mfbmodule.c @@ -29,10 +29,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/recordmod.c b/hw/xfree86/dixmods/recordmod.c index 2825555c2..5afb1d379 100644 --- a/hw/xfree86/dixmods/recordmod.c +++ b/hw/xfree86/dixmods/recordmod.c @@ -1,7 +1,7 @@ /* $XFree86: xc/programs/Xserver/record/recordmod.c,v 1.5 1999/01/26 05:54:21 dawes Exp $ */ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> #endif #include "xf86Module.h" diff --git a/hw/xfree86/dixmods/shmodule.c b/hw/xfree86/dixmods/shmodule.c index 16ba6f2ce..5f347a3b5 100644 --- a/hw/xfree86/dixmods/shmodule.c +++ b/hw/xfree86/dixmods/shmodule.c @@ -26,10 +26,6 @@ #include <xorg-config.h> #endif -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/mi/miinitext.c b/mi/miinitext.c index acc074378..d2c68e18a 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -52,6 +52,10 @@ SOFTWARE. #include <dix-config.h> #endif +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + #ifdef HAVE_DMX_CONFIG_H #include <dmx-config.h> #endif diff --git a/xkb/ddxKillSrv.c b/xkb/ddxKillSrv.c index 2e6ad6ee3..ee0acb028 100644 --- a/xkb/ddxKillSrv.c +++ b/xkb/ddxKillSrv.c @@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <dix-config.h> #endif +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + #include <stdio.h> #define NEED_EVENTS 1 #include <X11/X.h> diff --git a/xkb/ddxPrivate.c b/xkb/ddxPrivate.c index b2b2dadc4..5c0bca4cd 100644 --- a/xkb/ddxPrivate.c +++ b/xkb/ddxPrivate.c @@ -4,6 +4,10 @@ #include <dix-config.h> #endif +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + #include <stdio.h> #define NEED_EVENTS 1 #include <X11/X.h> diff --git a/xkb/ddxVT.c b/xkb/ddxVT.c index 9e0ac9dd2..1b7853fa0 100644 --- a/xkb/ddxVT.c +++ b/xkb/ddxVT.c @@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <dix-config.h> #endif +#ifdef HAVE_XORG_CONFIG_H +#include <xorg-config.h> +#endif + #include <stdio.h> #define NEED_EVENTS 1 #include <X11/X.h> |