summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-11-30 14:20:43 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-11-30 14:20:43 +0200
commitf2d137e07671bb1158f81e5a772c3f994c69953f (patch)
tree06ff04a1ef159073a9672c22475c9da54fc05155 /regex.c
parent880d9f5b287a8d44227aed80f53395f19c2283a2 (diff)
downloadgawk-f2d137e07671bb1158f81e5a772c3f994c69953f.tar.gz
Sync regex routines with GLIBC.
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 3abc7585..5ce79e09 100644
--- a/regex.c
+++ b/regex.c
@@ -1,5 +1,5 @@
/* Extended regular expression matching and search library.
- Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
@@ -56,6 +56,9 @@
#undefs RE_DUP_MAX and sets it to the right value. */
#include <limits.h>
+/* This header defines the MIN and MAX macros. */
+#include <sys/param.h>
+
#ifdef GAWK
#undef alloca
#define alloca alloca_is_bad_you_should_never_use_it