Every scalar type has an alignment requirement that is less than or
equal the alignment requirement of this type.
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Andra Paraschiv <andra@unikraft.io>
Reviewed-by: Razvan Virtan <virtanrazvan@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #757
#define __DEFINED_gid_t
#endif
+#if defined(__NEED_max_align_t) && !defined(__DEFINED_max_align_t)
+typedef struct {
+ long long __longlongf;
+
+ long double __longdoublef;
+} max_align_t;
+#define __DEFINED_max_align_t
+#endif
+
#if defined(__NEED_useconds_t) && !defined(__DEFINED_useconds_t)
typedef unsigned useconds_t;
#define __DEFINED_useconds_t
#define __NEED_NULL
#define __NEED_size_t
+#define __NEED_max_align_t
#include <nolibc-internal/shareddefs.h>
#ifdef __cplusplus