perl_langinfo.h: #include <langinfo.h> if available

Prior to this commit, it also needed to have nl_langinfo() available.
On POSIX systems you'll have both, so the extra condition doesn't buy
anything, and the next commit will allow for a non-standard test
environment where that extra condition gets in the way.
This commit is contained in:
Karl Williamson 2023-07-22 10:18:39 -06:00
parent ab1f5e3581
commit 73febbcd86

View File

@ -6,7 +6,7 @@
#include "config.h"
#if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO)
#if defined(I_LANGINFO)
# include <langinfo.h>
#endif