diff options
Diffstat (limited to 'dix/main.c')
-rw-r--r-- | dix/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dix/main.c b/dix/main.c index 863055270..41c626ca6 100644 --- a/dix/main.c +++ b/dix/main.c @@ -100,7 +100,9 @@ Equipment Corporation. #include "site.h" #include "dixfont.h" #include "extnsionst.h" +#ifdef XPRINT #include "DiPrint.h" +#endif #ifdef PANORAMIX #include "panoramiXsrv.h" #else @@ -249,7 +251,9 @@ main(int argc, char *argv[], char *envp[]) display = "0"; InitGlobals(); +#ifdef XPRINT PrinterInitGlobals(); +#endif /* Quartz support on Mac OS X requires that the Cocoa event loop be in * the main thread. This allows the X server main to be called again @@ -361,7 +365,9 @@ main(int argc, char *argv[], char *envp[]) InitCallbackManager(); InitVisualWrap(); InitOutput(&screenInfo, argc, argv); +#ifdef XPRINT PrinterInitOutput(&screenInfo, argc, argv); +#endif if (screenInfo.numScreens < 1) FatalError("no screens found"); |