From 0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0 Mon Sep 17 00:00:00 2001 From: Maciej Pasternacki Date: Sun, 24 Apr 2022 19:35:50 +0200 Subject: [PATCH] Fix build on FreeBSD, which has no alloca.h --- libs/fst/config.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2