summaryrefslogtreecommitdiff
path: root/lib_generic/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/md5.c')
-rw-r--r--lib_generic/md5.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c
index 78ef475..9150510 100644
--- a/lib_generic/md5.c
+++ b/lib_generic/md5.c
@@ -27,10 +27,12 @@
#ifndef USE_HOSTCC
#include <common.h>
+#include <linux/string.h>
+#else
+#include <string.h>
#endif /* USE_HOSTCC */
#include <watchdog.h>
#include <linux/types.h>
-#include <linux/string.h>
#include <u-boot/md5.h>
static void