summaryrefslogtreecommitdiff
path: root/zwgc/xmark.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/xmark.c
parentac16f380e349fa39ec7e26bccb5456cb300006a5 (diff)
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/xmark.c')
-rw-r--r--zwgc/xmark.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/zwgc/xmark.c b/zwgc/xmark.c
index 7b32a80..a6e68f3 100644
--- a/zwgc/xmark.c
+++ b/zwgc/xmark.c
@@ -18,13 +18,16 @@ static char rcsid_xmark_c[] = "$Id$";
#include <zephyr/mit-copyright.h>
+#include <sysdep.h>
+
+#ifndef X_DISPLAY_MISSING
+
#include <X11/X.h>
#include <X11/Xlib.h>
#include "X_gram.h"
#include "X_fonts.h"
#include "xmark.h"
#include "new_string.h"
-#include <stdio.h>
int markblock[3] = { -1 , -1 , -1 };
int markchar[3] = { -1 , -1 , -1 };
@@ -383,3 +386,6 @@ char *xmarkGetText()
return(text_so_far);
}
+
+#endif /* X_DISPLAY_MISSING */
+