# HG changeset patch # User Jim Blandy # Date 740266108 0 # Node ID d423b5ec9091d663712e69e3f507e8d5b61f46e4 # Parent bde2da377085e95dd81cc557b26d5660ebda2749 *** empty log message *** diff -r bde2da377085 -r d423b5ec9091 src/regex.c --- a/src/regex.c Wed Jun 16 21:26:47 1993 +0000 +++ b/src/regex.c Wed Jun 16 21:28:28 1993 +0000 @@ -46,6 +46,14 @@ #else /* not emacs */ +#ifdef STDC_HEADERS +#include +#else +char *malloc (); +char *realloc (); +#endif + + /* We used to test for `BSTRING' here, but only GCC and Emacs define `BSTRING', as far as I know, and neither of them use this code. */ #if HAVE_STRING_H || STDC_HEADERS @@ -63,14 +71,6 @@ #include #endif -#ifdef STDC_HEADERS -#include -#else -char *malloc (); -char *realloc (); -#endif - - /* Define the syntax stuff for \<, \>, etc. */ /* This must be nonzero for the wordchar and notwordchar pattern