From 68f1b6d700b9662cfdec43ceddbd086d4b59c87e Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 24 Jun 2021 14:49:55 +1000 Subject: only #include when it is actually needed This header was originally only needed for builds on darwin and FreeBSD, but was being included whenever it was detected. This has caused problems when what was an internal header was removed (from glibc) and in general wasn't needed anyway. On FreeBSD only localeconv_l() requires xlocale.h, so we test specifically for that. --- plan9/config_sh.sample | 1 + 1 file changed, 1 insertion(+) (limited to 'plan9') diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 4da1f0f682..23c15a3e90 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -1150,6 +1150,7 @@ version_patchlevel_string='version 35 subversion 3' versiononly='undef' vi='' xlibpth='' +xlocale_needed='undef' yacc='yacc' yaccflags='' zcat='' -- cgit v1.2.1