diff options
author | Greg Hudson <ghudson@mit.edu> | 1997-09-14 18:12:16 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1997-09-14 18:12:16 +0000 |
commit | ce6018836c422c86a729ba39fe5433ec11b87b02 (patch) | |
tree | cc2e6601489384fcf41e0565e8906822897b46c8 /zwgc/xcut.c | |
parent | ac16f380e349fa39ec7e26bccb5456cb300006a5 (diff) |
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/xcut.c')
-rw-r--r-- | zwgc/xcut.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/zwgc/xcut.c b/zwgc/xcut.c index 50893d6..aee164e 100644 --- a/zwgc/xcut.c +++ b/zwgc/xcut.c @@ -12,8 +12,10 @@ * "mit-copyright.h". */ +#include <sysdep.h> + #if (!defined(lint) && !defined(SABER)) -static char rcsid_xcut_c[] = "$Id$"; +static const char rcsid_xcut_c[] = "$Id$"; #endif #include <zephyr/mit-copyright.h> @@ -24,13 +26,13 @@ static char rcsid_xcut_c[] = "$Id$"; /* */ /****************************************************************************/ +#ifndef X_DISPLAY_MISSING + #include <X11/Xlib.h> #include <X11/Xutil.h> -#include <sys/time.h> #include "new_memory.h" #include "new_string.h" #include "X_gram.h" -#include <stdio.h> #include "zwgc.h" #include "xselect.h" #include "xmark.h" @@ -362,3 +364,6 @@ void xcut(dpy,event,desc_context) XFlush(dpy); } + +#endif + |