Commit cfc57cea authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Move the include of Xlocale.h after setting HAVE_X11R5.

parent 0d0e34df
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment