Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H

This commit is contained in:
Todd C. Miller
2012-06-18 14:03:39 -04:00
parent 5ac272c03e
commit 2ef0cc73fc

View File

@@ -21,7 +21,7 @@
* Solaris locale.h includes libintl.h which causes problems when we
* redefine the gettext functions. We include it first to avoid this.
*/
#if defined(HAVE_LOCALE_H) && defined(__sun__) && defined(__svr4__)
#if defined(HAVE_SETLOCALE) && defined(__sun__) && defined(__svr4__)
# include <locale.h>
#endif