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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user