From 1b09e416dcaed59d319b295b933506a6f54fe918 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Tue, 26 Apr 2005 05:33:10 +0000 Subject: //bugs.freedesktop.org/show_bug.cgi?id=2705) attachment #2555 (https://bugs.freedesktop.org/attachment.cgi?id=2555) bug 2705 part II: Fix build to work with |#define BuildXprint NO| Patch by Kevin E. Martin . --- xdpyinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xdpyinfo.c b/xdpyinfo.c index 70cce19..b470449 100644 --- a/xdpyinfo.c +++ b/xdpyinfo.c @@ -359,6 +359,7 @@ Bool hasExtension(Display *dpy, char *extname) return i != num_extensions; } +#ifdef INCLUDE_XPRINT_SUPPORT /* xc/programs/twm/twm.c has a copy of |IsPrintScreen()|, please * keep both versions in sync... */ static @@ -382,6 +383,7 @@ Bool IsPrintScreen(Screen *s) } return False; } +#endif /* INCLUDE_XPRINT_SUPPORT */ static void print_screen_info(Display *dpy, int scr) -- cgit v1.2.3