From 2ef0cc73fce0209848265de316d0c47ba8095c00 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 18 Jun 2012 14:03:39 -0400 Subject: [PATCH] Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H --- include/gettext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gettext.h b/include/gettext.h index 27f079617..ac2663c4c 100644 --- a/include/gettext.h +++ b/include/gettext.h @@ -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 #endif