From 4f11a3edd717e1dca77bee10a14ddbebc5ef3515 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Fri, 8 Sep 2017 09:59:41 +0200 Subject: [PATCH] Update xlocale definitions also for gui_rpc_client.h --- lib/gui_rpc_client.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gui_rpc_client.h b/lib/gui_rpc_client.h index a4015cacd3..c03080f97d 100644 --- a/lib/gui_rpc_client.h +++ b/lib/gui_rpc_client.h @@ -809,7 +809,9 @@ struct RPC { #elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4) // uselocale() is not available in OS 10.3.9 so use weak linking +#if HAVE_XLOCALE_H #include +#endif extern int freelocale(locale_t) __attribute__((weak_import)); extern locale_t newlocale(int, __const char *, locale_t) __attribute__((weak_import)); extern locale_t uselocale(locale_t) __attribute__((weak_import));