Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
posix: add missing HAVE_ALLOCA_H definition, fixes #272
Without this, the build fails with: ``` /var/tmp/portage/net-nntp/nzbget-24.1/work/nzbget-24.1/lib/regex/regex.c: In function ‘set_regs’: /var/tmp/portage/net-nntp/nzbget-24.1/work/nzbget-24.1/lib/regex/regex.c:7701:39: error: implicit declaration of function ‘alloca’; did you mean ‘calloc’? [-Wimplicit-function-declaration] 7701 | prev_idx_match = (regmatch_t*)alloca(nmatch * sizeof(regmatch_t)); | ^~~~~~ | calloc ```
- Loading branch information