summaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-30 05:22:32 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-30 05:22:32 +0000
commitdf759c2a218d1b52cfaf199b24e9f35dc93a3af4 (patch)
treee750512f8e6805f1fb5139ae375286c72fcc3ef8 /posix/regex_internal.h
parent4bb333cdd2473418d798593c3dd448aa9b8b28e0 (diff)
Update.
2004-01-28 Paolo Bonzini <bonzini@gnu.org> Merge regex changes in gawk. * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity of collation elements. * posix/regex.c: Include limits.h. * posix/regex.h: Document REG_ECOLLATE correctly. * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 7a7d964bd5..7ec7294692 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