--- gettext-tools/gnulib-lib/localename.c.old 2010-06-09 02:48:04.000000000 +0300 +++ gettext-tools/gnulib-lib/localename.c 2010-06-09 02:48:31.000000000 +0300 @@ -2613,10 +2613,12 @@ See . */ const char *name = nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); +# ifndef __UCLIBC__ if (name[0] == '\0') /* Fallback code for glibc < 2.4, which did not implement nl_langinfo (_NL_LOCALE_NAME (category)). */ name = thread_locale->__names[category]; +# endif return name; # endif # if defined __APPLE__ && defined __MACH__ /* MacOS X */ --- gettext-tools/gnulib-lib/execute.c.old 2010-06-09 02:42:21.000000000 +0300 +++ gettext-tools/gnulib-lib/execute.c 2010-06-09 02:43:02.000000000 +0300 @@ -44,6 +44,10 @@ #else /* Unix API. */ +# ifdef __UCLIBC__ +# include +# endif + # include #endif --- gettext-tools/gnulib-lib/pipe.c.old 2010-06-09 02:49:03.000000000 +0300 +++ gettext-tools/gnulib-lib/pipe.c 2010-06-09 02:49:34.000000000 +0300 @@ -44,6 +44,10 @@ #else /* Unix API. */ +# ifdef __UCLIBC__ +# include +# endif + # include #endif --- gettext-runtime/intl/localename.c.old 2010-06-09 02:58:00.000000000 +0300 +++ gettext-runtime/intl/localename.c 2010-06-09 02:33:20.000000000 +0300 @@ -2613,10 +2613,12 @@ See . */ const char *name = nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); +# ifndef __UCLIBC__ if (name[0] == '\0') /* Fallback code for glibc < 2.4, which did not implement nl_langinfo (_NL_LOCALE_NAME (category)). */ name = thread_locale->__names[category]; +# endif return name; # endif # if defined __APPLE__ && defined __MACH__ /* MacOS X */