summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-03-23 22:44:37 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-03-23 22:44:37 +0200
commita17d64b1c25dec5a94a3e4407ba431ed3ddeb473 (patch)
tree05be19a92cff7a87e6b1edc08a5f14080052f81f
parentac1f9a6de76def07e6966f7701d5af2cfdb661f0 (diff)
downloadgawk-a17d64b1c25dec5a94a3e4407ba431ed3ddeb473.tar.gz
Irix fix for dfa.c.
-rw-r--r--ChangeLog5
-rw-r--r--dfa.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 63d1c557..fac05e9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-23 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dfa.c: Move include of dfa.h around for correct building
+ on Irix. Thanks to Nelson H.F. Beebe for the report.
+
2014-03-21 Arnold D. Robbins <arnold@skeeve.com>
* dfa.c (using_simple_locale): Add ifdefs in case there is no
diff --git a/dfa.c b/dfa.c
index 813c239b..0fc68cff 100644
--- a/dfa.c
+++ b/dfa.c
@@ -43,8 +43,6 @@
#include "missing_d/gawkbool.h"
#endif /* HAVE_STDBOOL_H */
-#include "dfa.h"
-
/* Gawk doesn't use Gnulib, so don't assume static_assert is present. */
#ifndef static_assert
# define static_assert(cond, diagnostic) \
@@ -89,6 +87,8 @@
#include "xalloc.h"
+#include "dfa.h"
+
#ifdef GAWK
static int
is_blank (int c)