Fix build on FreeBSD, which has no alloca.h
authorMaciej Pasternacki <maciej@3ofcoins.net>
Sun, 24 Apr 2022 17:35:50 +0000 (19:35 +0200)
committerMaciej Pasternacki <maciej@3ofcoins.net>
Sun, 24 Apr 2022 17:35:50 +0000 (19:35 +0200)
libs/fst/config.h

index 0598fb8c5d57d65c5d3718da426d0cbfeaaa1e05..cd036f16a8868efe1d5279b470623a2b1172f7e1 100644 (file)
@@ -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