summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-03-12 02:18:31 -0600
committerArnold D. Robbins <arnold@skeeve.com>2020-03-12 02:18:31 -0600
commitcc77e041a1470ae6c7671ae99c71d771f4720318 (patch)
treee70b649ee7fd82ea751534dc991a736a68ae2cdd
parentcbb4732ca5d0bf958288189b7786f34c24c28d26 (diff)
downloadgawk-cc77e041a1470ae6c7671ae99c71d771f4720318.tar.gz
z/OS fix to dfa.c.
-rw-r--r--support/ChangeLog5
-rw-r--r--support/dfa.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 154bc22d..48a05008 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dfa.c: Move local includes after system includes.
+ Fixes z/OS build and is better practice anyway.
+
2020-03-06 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (libsupport_a_SOURCES): Add flexmember.h.
diff --git a/support/dfa.c b/support/dfa.c
index 9939d228..c088a92b 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -22,10 +22,6 @@
#include <config.h>
-#include "dfa.h"
-
-#include "flexmember.h"
-
#include <assert.h>
#include <ctype.h>
#include <stdint.h>
@@ -34,6 +30,9 @@
#include <limits.h>
#include <string.h>
+#include "dfa.h"
+#include "flexmember.h"
+
/* Another name for ptrdiff_t, for sizes of objects and nonnegative
indexes into objects. It is signed to help catch integer overflow.
It has its own name because it is for nonnegative values only. */