summaryrefslogtreecommitdiff
path: root/zwgc/xshow.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1997-09-14 18:12:16 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1997-09-14 18:12:16 +0000
commitce6018836c422c86a729ba39fe5433ec11b87b02 (patch)
treecc2e6601489384fcf41e0565e8906822897b46c8 /zwgc/xshow.c
parentac16f380e349fa39ec7e26bccb5456cb300006a5 (diff)
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/xshow.c')
-rw-r--r--zwgc/xshow.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/zwgc/xshow.c b/zwgc/xshow.c
index 402368d..27a9df1 100644
--- a/zwgc/xshow.c
+++ b/zwgc/xshow.c
@@ -12,13 +12,16 @@
* "mit-copyright.h".
*/
+#include <sysdep.h>
+
#if (!defined(lint) && !defined(SABER))
-static char rcsid_xshow_c[] = "$Id$";
+static const char rcsid_xshow_c[] = "$Id$";
#endif
#include <zephyr/mit-copyright.h>
-#include <stdio.h>
+#ifndef X_DISPLAY_MISSING
+
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>
@@ -572,3 +575,6 @@ void x_get_input(dpy)
xhandleevent(dpy, event.xany.window, &event);
}
}
+
+#endif /* X_DISPLAY_MISSING */
+