aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2001-05-12 09:53:59 +0000
committerEli Zaretskii2001-05-12 09:53:59 +0000
commit9763806e323b44c8e58207293eb6c87ad50f52b8 (patch)
tree05a77e6445b2fc0ba72cbded7085d6c779d8b144 /src
parent87a43646b6302ec39cd185beef8bd1c3470b1238 (diff)
downloademacs-9763806e323b44c8e58207293eb6c87ad50f52b8.tar.gz
emacs-9763806e323b44c8e58207293eb6c87ad50f52b8.zip
Include keyboard.h before frame.h, not after it.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 65cea12d2e5..610c34465ea 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -196,6 +196,7 @@ Boston, MA 02111-1307, USA. */
196#include <sys/stat.h> 196#include <sys/stat.h>
197#include "lisp.h" 197#include "lisp.h"
198#include "charset.h" 198#include "charset.h"
199#include "keyboard.h"
199#include "frame.h" 200#include "frame.h"
200 201
201#ifdef HAVE_WINDOW_SYSTEM 202#ifdef HAVE_WINDOW_SYSTEM
@@ -219,6 +220,7 @@ Boston, MA 02111-1307, USA. */
219#include "fontset.h" 220#include "fontset.h"
220/* Redefine X specifics to W32 equivalents to avoid cluttering the 221/* Redefine X specifics to W32 equivalents to avoid cluttering the
221 code with #ifdef blocks. */ 222 code with #ifdef blocks. */
223#undef FRAME_X_DISPLAY_INFO
222#define FRAME_X_DISPLAY_INFO FRAME_W32_DISPLAY_INFO 224#define FRAME_X_DISPLAY_INFO FRAME_W32_DISPLAY_INFO
223#define x_display_info w32_display_info 225#define x_display_info w32_display_info
224#define FRAME_X_FONT_TABLE FRAME_W32_FONT_TABLE 226#define FRAME_X_FONT_TABLE FRAME_W32_FONT_TABLE
@@ -227,6 +229,7 @@ Boston, MA 02111-1307, USA. */
227#define GCGraphicsExposures 0 229#define GCGraphicsExposures 0
228/* For historic reasons, FONT_WIDTH refers to average width on W32, 230/* For historic reasons, FONT_WIDTH refers to average width on W32,
229 not maximum as on X. Redefine here. */ 231 not maximum as on X. Redefine here. */
232#undef FONT_WIDTH
230#define FONT_WIDTH FONT_MAX_WIDTH 233#define FONT_WIDTH FONT_MAX_WIDTH
231#endif /* WINDOWSNT */ 234#endif /* WINDOWSNT */
232 235
@@ -284,7 +287,6 @@ x_free_gc (f, gc)
284 287
285#include <stdio.h> 288#include <stdio.h>
286#include <ctype.h> 289#include <ctype.h>
287#include "keyboard.h"
288 290
289#ifndef max 291#ifndef max
290#define max(A, B) ((A) > (B) ? (A) : (B)) 292#define max(A, B) ((A) > (B) ? (A) : (B))