aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-03 21:07:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-03 21:07:41 +0000
commitbdd5fccdeed418f2f79e25aa04a0b06171300c49 (patch)
treebe9d8fe4ea6a1e32f4afd0ac7dc62cb097790a50 /posix/regex.c
parent2f1afc880bee4e2f9ebba5eefb45e51c29eaf7ee (diff)
downloadglibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar.gz
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar.bz2
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.zip
Update.
2000-03-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality call.
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 507ac86545..4c66337a24 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -170,6 +170,14 @@ char *realloc ();
# endif
#endif /* not emacs */
+
+#if defined _LIBC || HAVE_LIMITS_H
+# include <limits.h>
+#endif
+
+#ifndef MB_LEN_MAX
+# define MB_LEN_MAX 1
+#endif
/* Get the interface, including the syntax bits. */
#include <regex.h>