diff options
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/include/stddef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/include/stddef.h b/src/arch/i386/include/stddef.h index e4fc019c87..6583cc62ef 100644 --- a/src/arch/i386/include/stddef.h +++ b/src/arch/i386/include/stddef.h @@ -8,7 +8,9 @@ typedef long ssize_t; typedef int wchar_t; typedef unsigned int wint_t; +#ifndef NULL #define NULL ((void *)0) +#endif #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |