From: Andy Fleming Date: Wed, 11 Jun 2008 18:10:20 -0500 Subject: [U-Boot-Users] [PATCH] Fix build issue with string.h and linux/string.h Message-ID: <1213225820-11963-1-git-send-email-afleming@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This commit: commit 338cc038461a6c7709c5b86fd9a240209338a1ae Author: Wolfgang Denk Date: Fri Jun 6 14:28:14 2008 +0200 tools/mkimage: fix compiler warnings on some systems. Broke building on some systems, because the host's string.h was interfering with u-boot's linux/string.h. It doesn't look like we need the u-boot one if we're building for the host, so now we only include when building inside u-boot. Signed-off-by: Andy Fleming --- lib_generic/md5.c | 2 +- lib_generic/sha1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_generic/md5.c b/lib_generic/md5.c index a9aae46..9150510 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -27,12 +27,12 @@ #ifndef USE_HOSTCC #include +#include #else #include #endif /* USE_HOSTCC */ #include #include -#include #include static void diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index a192e5f..da5bc16 100644 --- a/lib_generic/sha1.c +++ b/lib_generic/sha1.c @@ -31,11 +31,11 @@ #ifndef USE_HOSTCC #include +#include #else #include #endif /* USE_HOSTCC */ #include -#include #include "sha1.h" /* -- 1.5.4.GIT