summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/cpconfig.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-07-03 07:02:09 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-07-03 07:02:09 +0000
commite03198972ca78b03ad13cb49112c03a052bb763b (patch)
tree1278f4b1a41b11511b0f5c2932191e44f0f9d8d3 /hw/xfree86/parser/cpconfig.c
parentb8aef6c474ffc6d637bec178674898ea95ccde47 (diff)
downloadxserver-e03198972ca78b03ad13cb49112c03a052bb763b.tar.gz
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/parser/cpconfig.c')
-rw-r--r--hw/xfree86/parser/cpconfig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/parser/cpconfig.c b/hw/xfree86/parser/cpconfig.c
index e2dbb3e91..4eb635b30 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 <xorg-config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>