# HG changeset patch # User Kim F. Storm # Date 1048031181 0 # Node ID dadd724b7ce9f63bf900a719b0dcd3d1a4b21f0d # Parent c8111b6d2b32baa7e65e8466089c7b54e7e6a17b Fix compilation with --with-x=no. diff -r c8111b6d2b32 -r dadd724b7ce9 src/dispextern.h --- 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. */ diff -r c8111b6d2b32 -r dadd724b7ce9 src/xdisp.c --- a/src/xdisp.c Tue Mar 18 22:09:06 2003 +0000 +++ b/src/xdisp.c Tue Mar 18 23:46:21 2003 +0000 @@ -15665,6 +15665,8 @@ Glyph Display ***********************************************************************/ +#ifdef HAVE_WINDOW_SYSTEM + #if GLYPH_DEBUG void @@ -17647,7 +17649,7 @@ } - +#endif /* HAVE_WINDOW_SYSTEM */