diff options
Diffstat (limited to 'include/stddef.h')
-rw-r--r-- | include/stddef.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h new file mode 100644 index 0000000..2814c8d --- /dev/null +++ b/include/stddef.h @@ -0,0 +1,16 @@ +/** + * @file stddef.h + * @author Freya Murphy <freya@freyacat.org> + * + * Basic type definitions. + */ + +#ifndef _STDDEF_H +#define _STDDEF_H + +typedef int size_t; +typedef unsigned int usize_t; + +#define NULL ((void *)0) + +#endif /* stddef.h */ |