aboutsummaryrefslogtreecommitdiff
path: root/lib_generic
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-06-06 14:28:14 +0200
committerWolfgang Denk <wd@denx.de>2008-06-06 16:21:12 +0200
commit338cc038461a6c7709c5b86fd9a240209338a1ae (patch)
treed49e94c0fc5d948b61563ae48796d9e30692a2ba /lib_generic
parent8155efbd7ae9c65564ca98affe94631d612ae088 (diff)
tools/mkimage: fix compiler warnings on some systems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_generic')
-rw-r--r--lib_generic/md5.c2
-rw-r--r--lib_generic/sha1.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c
index 78ef47535..a9aae4682 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 c8ef4d282..a192e5f3d 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>