X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=regex.c;h=15ca91bc54a29b81a91d415d880a8d017c08a0ef;hb=6d25c083a960bbb51f6b6d73ce6f835246a9725a;hp=06c1bb0b72ec857098b85b6b1675ab62e6c69738;hpb=ea09b4c7d177e52bdb8f710c4a546ba480351695;p=gnulib.git diff --git a/regex.c b/regex.c index 06c1bb0b7..15ca91bc5 100644 --- 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