diff options
| author | Jim Blandy <jimb@redhat.com> | 1993-06-16 21:28:28 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1993-06-16 21:28:28 +0000 |
| commit | 74da500751595c23c5f4858a226eac86f38e4ea7 (patch) | |
| tree | 146d78076d088c34b677da63ce782f432ccd64e2 /src/regex.c | |
| parent | 79f92720d1a131db42b6e72f35ef92c10f716cec (diff) | |
| download | emacs-74da500751595c23c5f4858a226eac86f38e4ea7.tar.gz | |
*** empty log message ***
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/regex.c b/src/regex.c index 06c1bb0b72e..15ca91bc54a 100644 --- a/src/regex.c +++ b/src/regex.c @@ -46,6 +46,14 @@ #else /* not emacs */ +#ifdef STDC_HEADERS +#include <stdlib.h> +#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 <strings.h> #endif -#ifdef STDC_HEADERS -#include <stdlib.h> -#else -char *malloc (); -char *realloc (); -#endif - - /* Define the syntax stuff for \<, \>, etc. */ /* This must be nonzero for the wordchar and notwordchar pattern |
