diff --git a/main/strcompat.c b/main/strcompat.c index 38643fdd52..f6e3bfa072 100644 --- a/main/strcompat.c +++ b/main/strcompat.c @@ -25,9 +25,12 @@ #include #include #include -#include #include +#ifdef HAVE_ALLOCA_H +#include +#endif + #ifndef HAVE_STRSEP char *strsep(char **str, const char *delims) {