Index: lib/regex_internal.h --- lib/regex_internal.h.orig 2009-03-31 08:52:25 +0200 +++ lib/regex_internal.h 2009-04-30 22:41:19 +0200 @@ -458,7 +458,9 @@ #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx)) #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx)) +#ifdef HAVE_ALLOCA_H #include +#endif #ifndef _LIBC # if HAVE_ALLOCA