From 1dabd0cff476a1dfe4efb1664769b6002862a9c5 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 21 Mar 2003 14:23:32 +0000 Subject: [PATCH] Fix compilation for --with-x=no. --- src/xdisp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index f80073788a9..5f3e34cec59 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -200,6 +200,10 @@ Boston, MA 02111-1307, USA. */ #include "macterm.h" #endif +#ifndef FRAME_X_OUTPUT +#define FRAME_X_OUTPUT(f) ((f)->output_data.x) +#endif + #define INFINITY 10000000 #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) \ @@ -7887,6 +7891,8 @@ update_menu_bar (f, save_match_data) Output Cursor ***********************************************************************/ +#ifdef HAVE_WINDOW_SYSTEM + /* EXPORT: Nominal cursor position -- where to draw output. HPOS and VPOS are window relative glyph matrix coordinates. @@ -7951,6 +7957,7 @@ x_cursor_to (vpos, hpos, y, x) } } +#endif /* HAVE_WINDOW_SYSTEM */ /*********************************************************************** -- 2.39.2