# HG changeset patch # User Kim F. Storm # Date 1048256612 0 # Node ID 4425daba503558c98a777b568e535f445eeb3de2 # Parent 22d0f894909fe29ce0c1932bc00ce39ab4e49bae Fix compilation for --with-x=no. diff -r 22d0f894909f -r 4425daba5035 src/xdisp.c --- a/src/xdisp.c Fri Mar 21 14:05:27 2003 +0000 +++ b/src/xdisp.c Fri Mar 21 14:23:32 2003 +0000 @@ -200,6 +200,10 @@ #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 @@ 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 @@ } } +#endif /* HAVE_WINDOW_SYSTEM */ /***********************************************************************