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:
parent
7294970c18
commit
32e8c91d44
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue