]> granicus.if.org Git - sudo/commitdiff
Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Jun 2012 18:03:39 +0000 (14:03 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Jun 2012 18:03:39 +0000 (14:03 -0400)
include/gettext.h

index 27f079617b006a880fc6df6ac57538044a078c30..ac2663c4c60a8bf567195029f307957e082375e8 100644 (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