From 497fbd42da3c4f7f98e3c02c853f17459883a279 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Tue, 7 Nov 1995 07:13:46 +0000 Subject: [PATCH] [HAVE_NTGUI]: Include win32.h. HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems. --- src/dispextern.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/dispextern.h b/src/dispextern.h index d62797195ca..98fefbc4de9 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -32,6 +32,10 @@ extern int display_completed; #include "msdos.h" #endif +#ifdef HAVE_NTGUI +#include "win32.h" +#endif + #ifdef HAVE_FACES struct face { @@ -127,7 +131,7 @@ struct frame_glyphs and should be deleted. */ int *bufp; -#ifdef HAVE_X_WINDOWS +#ifdef HAVE_WINDOW_SYSTEM /* Pixel position of top left corner of line. */ short *top_left_x; short *top_left_y; @@ -140,7 +144,7 @@ struct frame_glyphs /* Largest font ascent on this line. */ short *max_ascent; -#endif /* HAVE_X_WINDOWS */ +#endif /* HAVE_WINDOW_SYSTEM */ /* Mapping of coordinate pairs to buffer positions. This field holds a vector indexed by row number. -- 2.39.2