Explorar el Código

tools/mkimage: fix compiler warnings on some systems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk hace 17 años
padre
commit
338cc03846
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  1. 2 0
      lib_generic/md5.c
  2. 2 0
      lib_generic/sha1.c

+ 2 - 0
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>

+ 2 - 0
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>