aboutsummaryrefslogtreecommitdiffstats
path: root/include/align.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/align.h')
-rw-r--r--include/align.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/align.h b/include/align.h
index babd4106..be01f4e4 100644
--- a/include/align.h
+++ b/include/align.h
@@ -1,7 +1,7 @@
#ifndef AL_ALIGN_H
#define AL_ALIGN_H
-#ifdef HAVE_STDALIGN_H
+#if defined(HAVE_STDALIGN_H) && defined(HAVE_C11_ALIGNAS)
#include <stdalign.h>
#endif