changeset 2484:bc9d41cf82df

[xemacs-hg @ 2005-01-17 10:10:16 by stephent] Ville's ISO LEVEL 3 SHIFT patch <878y6sjrm7.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 17 Jan 2005 10:10:18 +0000
parents 57a5686cfe9c
children 3e1c7efd5cde
files src/ChangeLog src/console-x.h
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jan 16 22:51:27 2005 +0000
+++ b/src/ChangeLog	Mon Jan 17 10:10:18 2005 +0000
@@ -1,3 +1,7 @@
+2005-01-12  Ville Skyttä  <scop@xemacs.org>
+
+	* console-x.h: #include X11/keysym.h before xintrinsic.h.
+
 2005-01-06  Zajcev Evgeny <zevlg@yandex.ru>
 
 	* scrollbar.c (compute_scrollbar_instance_usage):
--- a/src/console-x.h	Sun Jan 16 22:51:27 2005 +0000
+++ b/src/console-x.h	Mon Jan 17 10:10:18 2005 +0000
@@ -36,11 +36,14 @@
 #ifdef HAVE_X_WINDOWS
 
 #include "console.h"
+/* must come before Xutil.h, which is included indirectly from xintrinsic.h,
+   to avoid breakage in keysym-parsing macros from X11R6, at least X.org as
+   of 2005-01-17, and probably XFree86 too from reports on c.e.x */
+#include <X11/keysym.h>
 #include "xintrinsic.h"
 #include "../lwlib/lwlib.h"
 
 #include <X11/cursorfont.h>
-#include <X11/keysym.h>
 #include <X11/Xatom.h>
 #include <X11/StringDefs.h>