split out sizt_t from stddef header

This commit is contained in:
auronandace
2026-05-08 14:59:27 +01:00
parent 4596d71bf5
commit dc28f2faef
5 changed files with 55 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,7 @@
#ifndef _STDDEF_H
#define _STDDEF_H
#include <stdint.h>
#include <bits/size-t.h>
#define NULL 0
@@ -9,8 +10,6 @@
#endif
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef long unsigned int size_t;
typedef struct { long long __ll; long double __ld; } max_align_t;
#define offsetof(type, member) __builtin_offsetof(type, member)