aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/regex')
-rw-r--r--src/include/regex/regex2.h2
-rw-r--r--src/include/regex/utils.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/regex/regex2.h b/src/include/regex/regex2.h
index 25d7853c420..d6cb23a5d34 100644
--- a/src/include/regex/regex2.h
+++ b/src/include/regex/regex2.h
@@ -39,6 +39,8 @@
#include "postgres.h"
+#include "limits.h"
+
/*
* First, the stuff that ends up in the outside-world include file
*/
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h
index b2e2307e1d0..461e7ad6b0e 100644
--- a/src/include/regex/utils.h
+++ b/src/include/regex/utils.h
@@ -39,6 +39,8 @@
#include "postgres.h"
+#include "limits.h"
+
/* utility definitions */
#define DUPMAX 100000000 /* xxx is this right? */
#define INFINITY (DUPMAX + 1)