diff src/dispextern.h @ 50193:dadd724b7ce9

Fix compilation with --with-x=no.
author Kim F. Storm <storm@cua.dk>
date Tue, 18 Mar 2003 23:46:21 +0000
parents 5d83d663737a
children 10510d1bf1b6
line wrap: on
line diff
--- a/src/dispextern.h	Tue Mar 18 22:09:06 2003 +0000
+++ b/src/dispextern.h	Tue Mar 18 23:46:21 2003 +0000
@@ -933,6 +933,8 @@
   DRAW_IMAGE_SUNKEN
 };
 
+#ifdef HAVE_WINDOW_SYSTEM
+
 /* A sequence of glyphs to be drawn in the same face.  */
 
 struct glyph_string
@@ -1050,6 +1052,7 @@
   struct glyph_string *next, *prev;
 };
 
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 /************************************************************************
@@ -2160,6 +2163,8 @@
   void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row,
 				    enum glyph_row_area area));
 
+#ifdef HAVE_WINDOW_SYSTEM
+
   /* Draw a fringe bitmap in window W of row ROW using parameters P.  */
   void (*draw_fringe_bitmap) P_ ((struct window *w, struct glyph_row *row,
 				  struct draw_fringe_bitmap_params *p));
@@ -2182,6 +2187,7 @@
 /* Draw a glyph string S.  */
   void (*draw_glyph_string) P_ ((struct glyph_string *s));
 
+#endif /* HAVE_WINDOW_SYSTEM */
 };
 
 /* The current interface for window-based redisplay.  */