From: Wolfgang Denk <wd@denx.de> Date: Fri, 6 Jun 2008 12:28:14 +0000 (+0200) Subject: tools/mkimage: fix compiler warnings on some systems. X-Git-Tag: v2025.01-rc5-pxa1908~22098 X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=338cc038461a6c7709c5b86fd9a240209338a1ae;p=u-boot.git tools/mkimage: fix compiler warnings on some systems. Signed-off-by: Wolfgang Denk <wd@denx.de> --- diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 78ef47535e..a9aae4682f 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -27,6 +27,8 @@ #ifndef USE_HOSTCC #include <common.h> +#else +#include <string.h> #endif /* USE_HOSTCC */ #include <watchdog.h> #include <linux/types.h> diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index c8ef4d2827..a192e5f3dd 100644 --- a/lib_generic/sha1.c +++ b/lib_generic/sha1.c @@ -31,6 +31,8 @@ #ifndef USE_HOSTCC #include <common.h> +#else +#include <string.h> #endif /* USE_HOSTCC */ #include <watchdog.h> #include <linux/string.h>