Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
* Solaris locale.h includes libintl.h which causes problems when we
|
* Solaris locale.h includes libintl.h which causes problems when we
|
||||||
* redefine the gettext functions. We include it first to avoid this.
|
* 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>
|
# include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user