summaryrefslogtreecommitdiff
path: root/zwgc/X_fonts.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/X_fonts.c
parentac16f380e349fa39ec7e26bccb5456cb300006a5 (diff)
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/X_fonts.c')
-rw-r--r--zwgc/X_fonts.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/zwgc/X_fonts.c b/zwgc/X_fonts.c
index 23b9cc1..51647d8 100644
--- a/zwgc/X_fonts.c
+++ b/zwgc/X_fonts.c
@@ -12,8 +12,10 @@
* "mit-copyright.h".
*/
+#include <sysdep.h>
+
#if (!defined(lint) && !defined(SABER))
-static char rcsid_X_fonts_c[] = "$Id$";
+static const char rcsid_X_fonts_c[] = "$Id$";
#endif
#include <zephyr/mit-copyright.h>
@@ -24,7 +26,8 @@ static char rcsid_X_fonts_c[] = "$Id$";
/* */
/****************************************************************************/
-#include <stdio.h>
+#ifndef X_DISPLAY_MISSING
+
#include "X_fonts.h"
#include "new_memory.h"
#include "new_string.h"
@@ -297,3 +300,6 @@ XFontStruct *get_font(dpy,style,substyle,size,face)
exit(1);
#endif
}
+
+#endif /* X_DISPLAY_MISSING */
+