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