summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-04-26 05:33:10 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-04-26 05:33:10 +0000
commit1b09e416dcaed59d319b295b933506a6f54fe918 (patch)
tree8f1ca9b32280bf4b11e43e91428351bb4e626778
parent5adf5a253e5434c2b0c2276ce3733cbb05282980 (diff)
(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 <kem@freedesktop.org>.
-rw-r--r--xdpyinfo.c2
1 files changed, 2 insertions, 0 deletions
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)