# HG changeset patch # User Jim Blandy # Date 740266108 0 # Node ID f23bd92520d1eadb3b01acd9f3b5e462c7d82b62 # Parent 47f6db3dc567ba5f8b52e7f1b98c4af9c77ead5b *** empty log message *** diff --git a/regex.c b/regex.c --- a/regex.c +++ b/regex.c @@ -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