diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-07-03 07:02:09 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-07-03 07:02:09 +0000 |
commit | e03198972ca78b03ad13cb49112c03a052bb763b (patch) | |
tree | 1278f4b1a41b11511b0f5c2932191e44f0f9d8d3 /hw/xfree86/shadowfb | |
parent | b8aef6c474ffc6d637bec178674898ea95ccde47 (diff) |
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
Diffstat (limited to 'hw/xfree86/shadowfb')
-rw-r--r-- | hw/xfree86/shadowfb/sfbmodule.c | 4 | ||||
-rw-r--r-- | hw/xfree86/shadowfb/shadow.c | 8 | ||||
-rw-r--r-- | hw/xfree86/shadowfb/shadowfb.h | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/hw/xfree86/shadowfb/sfbmodule.c b/hw/xfree86/shadowfb/sfbmodule.c index 6793c8f95..663f587c4 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 <xorg-config.h> +#endif + #ifdef XFree86LOADER #include "xf86Module.h" diff --git a/hw/xfree86/shadowfb/shadow.c b/hw/xfree86/shadowfb/shadow.c index 960aa8af7..4363ad0f9 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 <xorg-config.h> +#endif + #include <X11/X.h> #include <X11/Xproto.h> #include <X11/misc.h> #include "pixmapstr.h" #include "input.h" -#include "font.h" +#include <X11/fonts/font.h> #include "mi.h" #include "scrnintstr.h" #include "windowstr.h" #include "gcstruct.h" #include "dixfontstr.h" -#include "fontstruct.h" +#include <X11/fonts/fontstruct.h> #include "xf86.h" #include "xf86str.h" #include "shadowfb.h" diff --git a/hw/xfree86/shadowfb/shadowfb.h b/hw/xfree86/shadowfb/shadowfb.h index e42822600..d177c5f1b 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 <xorg-config.h> +#endif + #ifndef _SHADOWFB_H #define _SHADOWFB_H |