summaryrefslogtreecommitdiff
path: root/zwgc/xmark.c
diff options
context:
space:
mode:
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 */
+