From: Wolfgang Denk Date: Fri, 06 Jun 2008 14:28:14 +0200 Subject: [U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ? In-Reply-To: Your message of "Fri, 06 Jun 2008 14:06:24 +0200." <47F3F98010FF784EBEE6526EAAB078D10635DFDE@tq-mailsrv.tq-net.de> Message-ID: <20080606122814.BCC40247CC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, in message <47F3F98010FF784EBEE6526EAAB078D10635DFDE@tq-mailsrv.tq-net.de> you wrote: > > I don't know, why I get the warnings (they appeared first several > weeks ago, and I get it for every build, since then). But since the > resulting U-Boot runs fine, there was no pressure (and no time) > to dig for the reason of the warnings ... Can you please check if this patch fixes the warnings? Thanks in advance. diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 78ef475..a9aae46 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -27,6 +27,8 @@ #ifndef USE_HOSTCC #include +#else +#include #endif /* USE_HOSTCC */ #include #include diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index c8ef4d2..a192e5f 100644 --- a/lib_generic/sha1.c +++ b/lib_generic/sha1.c @@ -31,6 +31,8 @@ #ifndef USE_HOSTCC #include +#else +#include #endif /* USE_HOSTCC */ #include #include Viele Gr??e, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Any technology distinguishable from magic is insufficiently advanced.