commit | fe93483a0ab9dcbf7794ffbf0b029ba138380e81 | [log] [tgz] |
---|---|---|
author | Marian Balakowicz <m8@semihalf.com> | Fri Oct 28 18:08:03 2005 +0200 |
committer | Marian Balakowicz <m8@semihalf.com> | Fri Oct 28 18:08:03 2005 +0200 |
tree | f925d8755f613f4d73cdc4ef4f56ca4a05dc270e | |
parent | 170d5e6d4cb91ff5eaccf1779918567dc1c2cb00 [diff] [blame] |
Correct includes for flat tree builder.
diff --git a/common/ft_build.c b/common/ft_build.c index 624a1e1..65a274f 100644 --- a/common/ft_build.c +++ b/common/ft_build.c
@@ -6,13 +6,13 @@ #include <malloc.h> #include <environment.h> +#ifdef CONFIG_OF_FLAT_TREE + #include <asm/errno.h> #include <stddef.h> #include <ft_build.h> -#ifdef CONFIG_OF_FLAT_TREE - /* align addr on a size boundary - adjust address up if needed -- Cort */ #define _ALIGN(addr,size) (((addr)+(size)-1)&(~((size)-1)))