1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

On linux do not include X11/Xlocale.h but locale.h, this prevents

Xlocale.h redefining setlocate() into _Xsetlocale() that it then can't
find and link against.
This commit is contained in:
Peter Howkins 2012-03-14 13:50:42 +00:00
parent 7294970c18
commit 32e8c91d44

View file

@ -81,7 +81,11 @@ from the X Consortium.
#include "_fallibint.h"
#include "_fallcint.h"
#if defined(linux)
#include <locale.h>
#else
#include <X11/Xlocale.h>
#endif
#include <X11/Xos.h>
#ifdef WIN32
#undef close