diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | dfa.c | 5 | ||||
-rw-r--r-- | dfa.h | 3 |
3 files changed, 15 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2013-01-18 Arnold D. Robbins <arnold@skeeve.com> + + Fix a problem with include ordering to get ptrdiff_t definition, + showed up on Debian Lenny. Reported by Manuel Collado. + Fix brought over from grep. + + * dfa.h: Include regex.h and stddef.h directly. + * dfa.c: Adjust includes. + 2013-01-11 John Haque <j.eh@mchsi.com> * awk.h (do_mpfr_rshift): Renamed from do_mpfr_rhift. @@ -21,6 +21,9 @@ Modified July, 1988 by Arthur David Olson to assist BMG speedups */ #include <config.h> + +#include "dfa.h" + #include <assert.h> #include <ctype.h> #include <stdio.h> @@ -79,8 +82,6 @@ # include <langinfo.h> #endif -#include "regex.h" -#include "dfa.h" #include "xalloc.h" #ifdef GAWK @@ -18,6 +18,9 @@ /* Written June, 1988 by Mike Haertel */ +#include <regex.h> +#include <stddef.h> + /* Element of a list of strings, at least one of which is known to appear in any R.E. matching the DFA. */ struct dfamust |