]> Savannah Git Hosting - gnulib.git/commit
localename: control langinfo.h inclusion
authorMike Frysinger <vapier@chromium.org>
Thu, 15 Oct 2015 08:04:07 +0000 (17:04 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 15 Oct 2015 08:08:35 +0000 (17:08 +0900)
commit63881a60d67422cd7b83eae5ecabdc6b67ea7192
tree48c4a7745a2e2eeb7d6fee38a5fd09821efba72a
parentb92e701c6456e0eb71a1183cf0cd6e1f95d6a737
localename: control langinfo.h inclusion

This header is only used to work around buggy behavior in old
versions of glibc, so do not include it all the time.  Otherwise
we get build failures on systems that do not provide langinfo.h.

* lib/localename.c: Wrap langinfo.h include with same ifdefs used
in the source later on.
The patch was originally submitted to gettext as:
https://lists.gnu.org/archive/html/bug-gettext/2015-10/msg00011.html
ChangeLog
lib/localename.c