2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 13:58:05 +00:00

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