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:
parent
5ac272c03e
commit
2ef0cc73fc
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user