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/scanpci | |
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/scanpci')
-rw-r--r-- | hw/xfree86/scanpci/xf86PciData.h | 4 | ||||
-rw-r--r-- | hw/xfree86/scanpci/xf86PciStdIds.h | 4 | ||||
-rw-r--r-- | hw/xfree86/scanpci/xf86PciStr.h | 4 | ||||
-rw-r--r-- | hw/xfree86/scanpci/xf86ScanPci.c | 4 | ||||
-rw-r--r-- | hw/xfree86/scanpci/xf86ScanPci.h | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/hw/xfree86/scanpci/xf86PciData.h b/hw/xfree86/scanpci/xf86PciData.h index 2253de8e5..0533d78ec 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 <xorg-config.h> +#endif + #ifndef PCI_DATA_H_ #define PCI_DATA_H_ diff --git a/hw/xfree86/scanpci/xf86PciStdIds.h b/hw/xfree86/scanpci/xf86PciStdIds.h index e2e6f65a3..14697fe46 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 <xorg-config.h> +#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 bb36d510a..307dfacdf 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 <xorg-config.h> +#endif + #ifndef _XF86_PCISTR_H #define _XF86_PCISTR_H diff --git a/hw/xfree86/scanpci/xf86ScanPci.c b/hw/xfree86/scanpci/xf86ScanPci.c index 4a82e6511..1daebdc5f 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 <xorg-config.h> +#endif + #include <X11/X.h> #include <X11/os.h> #include "xf86.h" diff --git a/hw/xfree86/scanpci/xf86ScanPci.h b/hw/xfree86/scanpci/xf86ScanPci.h index 3a154174a..9107b9e32 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 <xorg-config.h> +#endif + #ifndef SCANPCI_H_ #define SCANPCI_H_ |