1Apparently somewhere along the line HAVE_LOCALE_H was changed to 2HAVE_LC_MESSAGES. Adjust netcat to match. 3 4Upstream-Status: Pending 5 6Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 7 8Index: netcat-0.7.1/src/intl.h 9=================================================================== 10--- netcat-0.7.1.orig/src/intl.h 11+++ netcat-0.7.1/src/intl.h 12@@ -25,11 +25,11 @@ 13 #ifdef ENABLE_NLS 14 #include <libintl.h> 15 16-#ifdef HAVE_LOCALE_H 17+#if defined(HAVE_LC_MESSAGES) || defined(HAVE_LOCALE_H) 18 #include <locale.h> 19 #else 20 #error You must have locale.h in your system 21-#endif /* HAVE_LOCALE_H */ 22+#endif /* HAVE_LC_MESSAGES || HAVE_LOCALE_H */ 23 24 /* Our dear (and very common) gettext macros */ 25 #define _(String) gettext(String) 26