From: Maciej Pasternacki Date: Sun, 24 Apr 2022 17:35:50 +0000 (+0200) Subject: Fix build on FreeBSD, which has no alloca.h X-Git-Tag: yosys-0.17~22^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0;p=yosys.git Fix build on FreeBSD, which has no alloca.h --- diff --git a/libs/fst/config.h b/libs/fst/config.h index 0598fb8c5..cd036f16a 100644 --- a/libs/fst/config.h +++ b/libs/fst/config.h @@ -21,6 +21,9 @@ #undef HAVE_LIBPTHREAD #undef HAVE_FSEEKO #endif +#ifdef __FreeBSD__ +#undef HAVE_ALLOCA_H +#endif # ifndef __STDC_FORMAT_MACROS # define __STDC_FORMAT_MACROS 1