From: Marian Balakowicz <m8@semihalf.com>
Date: Fri, 28 Oct 2005 16:08:03 +0000 (+0200)
Subject: Correct includes for flat tree builder.
X-Git-Tag: v2025.01-rc5-pxa1908~23154^2~1^2~2
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=fe93483a0ab9dcbf7794ffbf0b029ba138380e81;p=u-boot.git

Correct includes for flat tree builder.
---

diff --git a/common/ft_build.c b/common/ft_build.c
index 624a1e1659..65a274f840 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)))