aboutsummaryrefslogtreecommitdiffstats
path: root/libs/fst/config.h
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2022-07-25 16:10:29 +0200
committerGitHub <noreply@github.com>2022-07-25 16:10:29 +0200
commitd4875ceae6f880400a1c1f18a5c97c88793f77dc (patch)
tree52852e07f72f5aeb1f42fff5e15b68af34ea18b0 /libs/fst/config.h
parent358e656e21bbbf6f09bb9f353a3829123f73d3b6 (diff)
parent58fddf61ccd4715150f1dba40e62eac650ef9ee3 (diff)
downloadyosys-d4875ceae6f880400a1c1f18a5c97c88793f77dc.tar.gz
yosys-d4875ceae6f880400a1c1f18a5c97c88793f77dc.tar.bz2
yosys-d4875ceae6f880400a1c1f18a5c97c88793f77dc.zip
Merge pull request #3406 from josuah/master
Better compatibility for OpenBSD
Diffstat (limited to 'libs/fst/config.h')
-rw-r--r--libs/fst/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/fst/config.h b/libs/fst/config.h
index cd036f16a..a2f0fca82 100644
--- a/libs/fst/config.h
+++ b/libs/fst/config.h
@@ -21,7 +21,7 @@
#undef HAVE_LIBPTHREAD
#undef HAVE_FSEEKO
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#undef HAVE_ALLOCA_H
#endif