summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toc.c b/toc.c
index aed9423..f7a310b 100644
--- a/toc.c
+++ b/toc.c
@@ -65,7 +65,7 @@
/* use toc_alignof only for non-structs. it may be incorrect for pre-C(++)11. */
-#if (__STDC_VERSION__ >= 201112 || __cplusplus >= 201103L) && !defined __TINYC__
+#if (__STDC_VERSION__ >= 201112 || __cplusplus >= 201103L) && !defined __TINYC__ && !defined __OpenBSD__ && !defined __FreeBSD__
#include <stdalign.h>
#define toc_alignof alignof