From 32e8c91d441ac45ccf135744cb7c0a854e9dd122 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Wed, 14 Mar 2012 13:50:42 +0000 Subject: [PATCH] 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. --- cde/programs/dtudcfonted/libfal/_fallcWrap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/programs/dtudcfonted/libfal/_fallcWrap.c b/cde/programs/dtudcfonted/libfal/_fallcWrap.c index fbab0100..39635b89 100644 --- a/cde/programs/dtudcfonted/libfal/_fallcWrap.c +++ b/cde/programs/dtudcfonted/libfal/_fallcWrap.c @@ -81,7 +81,11 @@ from the X Consortium. #include "_fallibint.h" #include "_fallcint.h" +#if defined(linux) +#include +#else #include +#endif #include #ifdef WIN32 #undef close -- 2.25.1