diff options
author | Maciej Pasternacki <maciej@3ofcoins.net> | 2022-04-24 19:35:50 +0200 |
---|---|---|
committer | Maciej Pasternacki <maciej@3ofcoins.net> | 2022-04-24 19:35:50 +0200 |
commit | 0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0 (patch) | |
tree | 1cc83723db9c800ba5d7ab6006f7a680bdd58b57 /libs | |
parent | 29c0a595892f36ca8755386c448105f8e2f499d6 (diff) | |
download | yosys-0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0.tar.gz yosys-0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0.tar.bz2 yosys-0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0.zip |
Fix build on FreeBSD, which has no alloca.h
Diffstat (limited to 'libs')
-rw-r--r-- | libs/fst/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |