summaryrefslogtreecommitdiff
path: root/Xprint/Util.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 /Xprint/Util.c
parentb8aef6c474ffc6d637bec178674898ea95ccde47 (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 'Xprint/Util.c')
-rw-r--r--Xprint/Util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xprint/Util.c b/Xprint/Util.c
index 595fb6ccf..c1696becf 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 <stdio.h> */
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#if defined(linux) && defined(__STRICT_ANSI__)
#undef __STRICT_ANSI__
#endif