From: Kumar Gala Date: Wed, 14 May 2008 00:01:54 +0000 (-0500) Subject: Make sure common.h is the first include. X-Git-Tag: v1.3.4-rc1~114^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=81673e9ae14b771cd13faf19947192599cae3959;p=oweals%2Fu-boot.git Make sure common.h is the first include. If common.h isn't first we can get CONFIG_ options defined in the board config file ignored. This can cause an issue if any of those config options impact the size of types of data structures (eg CONFIG_PHYS_64BIT). Signed-off-by: Kumar Gala --- diff --git a/common/dlmalloc.c b/common/dlmalloc.c index 20c206913c..c51351e961 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1,3 +1,5 @@ +#include + #if 0 /* Moved to malloc.h */ /* ---------- To make a malloc.h, start cutting here ------------ */ @@ -947,7 +949,6 @@ void malloc_stats(); #endif /* 0 */ #endif /* 0 */ /* Moved to malloc.h */ -#include DECLARE_GLOBAL_DATA_PTR;