summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-04-24 01:10:12 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-04-24 01:10:12 +0000
commita369d390a87ab0189c465be6cfd914e4b9329691 (patch)
tree198ccfd7522d6ade85720689cd5d42ab5a62b64c /os
parent13fcfee37305f46e95ff81d7d5eec4d88a63a63b (diff)
xc/config/cf/X11.tmplXORG-6_8_99_4
xc/programs/Xserver/Xext/Imakefile xc/programs/Xserver/dix/Imakefile xc/programs/Xserver/dix/main.c xc/programs/Xserver/dix/xpstubs.c xc/programs/Xserver/mi/miinitext.c //bugs.freedesktop.org/show_bug.cgi?id=2792) attachment #2526 (https://bugs.freedesktop.org/attachment.cgi?id=2526) bug 2792 part II: Make Xprint headers in dix/, mi/, os/ and Xext/ conditional on whether the Xprint extension is build or not. Patch by Egbert Eich <eich@freedesktop.org> and Roland Mainz <roland.mainz@nrubsig.org>.
Diffstat (limited to 'os')
-rw-r--r--os/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index a8e1b49c6..5162ff11a 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -123,7 +123,9 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include "picture.h"
#endif
+#ifdef XPRINT
#include "DiPrint.h"
+#endif
Bool noTestExtensions;
#ifdef BEZIER
@@ -655,7 +657,9 @@ void UseMsg(void)
#ifdef XCSECURITY
ErrorF("-sp file security policy file\n");
#endif
+#ifdef XPRINT
PrinterUseMsg();
+#endif
ErrorF("-su disable any save under support\n");
ErrorF("-t # mouse threshold (pixels)\n");
ErrorF("-terminate terminate at server reset\n");