]> git.ipfire.org Git - thirdparty/gettext.git/commit
intl/localename: control langinfo.h inclusion
authorMike Frysinger <vapier@chromium.org>
Mon, 12 Oct 2015 22:00:43 +0000 (18:00 -0400)
committerDaiki Ueno <ueno@gnu.org>
Wed, 14 Oct 2015 06:03:32 +0000 (15:03 +0900)
commitafe42f6d0bbb1a8ea0134165c3b8779b2d8c94de
treea66a1873cefea11bb7b36ee187fddcc11d624c0f
parent614ff78da50d3b16b538c07d338dc4a9b32d6261
intl/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.

* gettext-runtime/intl/localename.c: Wrap langinfo.h include with same
ifdefs used in the source later on.
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/localename.c