diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-09 21:15:13 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-09 21:15:13 +0000 |
commit | 3d5bb236aa6147ce24d9618f2d482e76eefc58c6 (patch) | |
tree | e6769779f4f549224c3c39704a4fa98b12c335a4 /src/arch/i386 | |
parent | bf9e5384d7c25be41d008d29c38b24155676acc0 (diff) | |
download | coreboot-3d5bb236aa6147ce24d9618f2d482e76eefc58c6.tar.xz |
Move includes to where they are needed. This allows to simplify
romstage.c files in mainboards.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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) |