diff options
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r-- | posix/regex_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 7a7d964..7ec7294 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -23,7 +23,6 @@ #include <assert.h> #include <ctype.h> -#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -53,7 +52,7 @@ #endif /* This is for other GNU distributions with internationalized messages. */ -#if HAVE_LIBINTL_H || defined _LIBC +#if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include <libintl.h> # ifdef _LIBC # undef gettext |