aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-02-06 06:21:57 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-02-06 06:21:57 +0200
commit422a9f84f8bc91f267a176e737dfc2d7670d540b (patch)
treeb3d99c5e9f079128d9d9a3b650676e63baec02a9
parentb4997014ca38482c242d84148787ab4211ed6897 (diff)
downloadegawk-422a9f84f8bc91f267a176e737dfc2d7670d540b.tar.gz
egawk-422a9f84f8bc91f267a176e737dfc2d7670d540b.tar.bz2
egawk-422a9f84f8bc91f267a176e737dfc2d7670d540b.zip
Fix include order, mainly for VMS.
(cherry picked from commit 20cf1ff2b10b7b43d30a9213c63b8e92a12b9a90)
-rw-r--r--ChangeLog8
-rw-r--r--dfa.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ff28c91..5b40a50f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-2013-02-04 Arnold D. Robbins <arnold@skeeve.com>
+2013-01-31 Arnold D. Robbins <arnold@skeeve.com>
* regcomp.c, regex.c, regex_internal.c, regexec.c: Update
copyright years to sync with GLIBC.
@@ -13,6 +13,12 @@
2013-01-31 Arnold D. Robbins <arnold@skeeve.com>
+ * dfa.c: Include "dfa.h" which includes regex.h after limits.h
+ so that RE_DUP_MAX gets the correct value. Especially needed on
+ OpenVMS. Thanks to Anders Wallin.
+
+2013-01-31 Arnold D. Robbins <arnold@skeeve.com>
+
* PROBLEMS: Removed. It is no longer needed.
* Makefile.am (EXTRA_DIST): Remove PROBLEMS from list.
diff --git a/dfa.c b/dfa.c
index a7f69386..4559adbe 100644
--- a/dfa.c
+++ b/dfa.c
@@ -22,8 +22,6 @@
#include <config.h>
-#include "dfa.h"
-
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
@@ -45,6 +43,8 @@
#include "missing_d/gawkbool.h"
#endif /* HAVE_STDBOOL_H */
+#include "dfa.h"
+
#define STREQ(a, b) (strcmp (a, b) == 0)