Skip to content

Commit 7d26fe0

Browse files
authored
Merge pull request #17140 from compnerd/aligned
2 parents a6ae2d7 + b33a1e1 commit 7d26fe0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/runtime/Casting.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
#include <cstring>
4545
#include <type_traits>
4646

47+
#if defined(__GLIBCXX__) && __GLIBCXX__ < 20160726
48+
#include <stddef.h>
49+
namespace std { using ::max_align_t; }
50+
#endif
51+
4752
using namespace swift;
4853
using namespace swift::hashable_support;
4954
using namespace metadataimpl;

0 commit comments

Comments
 (0)