summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-30 19:41:44 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-30 19:41:44 +0000
commit288bb00c56ffead88d9a60bedc48f7215dbb440f (patch)
tree09e5f70c937a5ef62753260b68c44dc60417dc8c /src/xterm.h
parente1c170daeb645f859d4db42181ff38bc4a2ba9d8 (diff)
downloademacs-288bb00c56ffead88d9a60bedc48f7215dbb440f.tar.gz
Move the include of Xlocale.h after setting HAVE_X11R5.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xterm.h b/src/xterm.h
index d4a9dd90279..7a1e7671ba5 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -24,11 +24,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <X11/Xatom.h>
#include <X11/Xresource.h>
-#ifdef HAVE_X11R5
-#define HAVE_X_I18N
-#include <X11/Xlocale.h>
-#endif
-
#ifdef USE_X_TOOLKIT
#include <X11/StringDefs.h>
#include <X11/IntrinsicP.h> /* CoreP.h needs this */
@@ -83,6 +78,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_X11R4
#endif
#endif
+
+#ifdef HAVE_X11R5
+#define HAVE_X_I18N
+#include <X11/Xlocale.h>
+#endif
#define BLACK_PIX_DEFAULT(f) BlackPixel (FRAME_X_DISPLAY (f), \
XScreenNumberOfScreen (FRAME_X_SCREEN (f)))