summaryrefslogtreecommitdiff
path: root/dix/xpstubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/xpstubs.c')
-rw-r--r--dix/xpstubs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dix/xpstubs.c b/dix/xpstubs.c
index d04be0969..f7f37b64a 100644
--- a/dix/xpstubs.c
+++ b/dix/xpstubs.c
@@ -29,7 +29,9 @@ from The Open Group.
#include "misc.h"
#include "font.h"
+#ifdef XPRINT
#include "DiPrint.h"
+#endif
Bool
XpClientIsBitmapClient(
@@ -45,6 +47,7 @@ XpClientIsPrintClient(
{
return FALSE;
}
+#ifdef XPRINT
int
PrinterOptions(
int argc,
@@ -66,5 +69,5 @@ void PrinterUseMsg(void)
void PrinterInitGlobals(void)
{
}
-
+#endif /* XPRINT */