aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/stddef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/include/stddef.h b/lib/libc/include/stddef.h
index 7f7eb43..70b3ccf 100644
--- a/lib/libc/include/stddef.h
+++ b/lib/libc/include/stddef.h
@@ -30,6 +30,8 @@
#ifndef _STDDEF_H
#define _STDDEF_H
+#include <bits/_types.h>
+
#if __cplusplus >= 201103L
#define NULL nullptr
#elif defined(__cplusplus)
@@ -38,4 +40,6 @@
#define NULL ((void *) 0)
#endif
+typedef __size_t size_t;
+
#endif /* !_STDDEF_H */