diff options
-rw-r--r-- | contrib/libgnuregex/regex_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libgnuregex/regex_internal.h b/contrib/libgnuregex/regex_internal.h index 6dfdef6..2857e15 100644 --- a/contrib/libgnuregex/regex_internal.h +++ b/contrib/libgnuregex/regex_internal.h @@ -417,7 +417,9 @@ static unsigned int re_string_context_at (const re_string_t *input, int idx, #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx)) #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx)) +#ifndef __FreeBSD__ #include <alloca.h> +#endif #ifndef _LIBC # if HAVE_ALLOCA |