summaryrefslogtreecommitdiff
path: root/patches/mintsuki-stddef.patch
blob: 4f98cc263a1e22a8d3c87fdf709fb1fc9213846d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/stddef.h b/stddef.h
index 376eb75..fb1e99d 100644
--- a/stddef.h
+++ b/stddef.h
@@ -50,4 +50,9 @@ typedef decltype(nullptr) nullptr_t;
 #  define unreachable() __builtin_unreachable()
 #endif
 
+typedef struct {
+  long long ll __attribute__((__aligned__(__alignof__(long long))));
+  long double ld __attribute__((__aligned__(__alignof__(long double))));
+} max_align_t;
+
 #endif