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
This commit is contained in:
parent
bf9e5384d7
commit
3d5bb236aa
9 changed files with 19 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue