summaryrefslogtreecommitdiff
path: root/lib_generic/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/sha1.c')
-rw-r--r--lib_generic/sha1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c
index c8ef4d2..da5bc16 100644
--- a/lib_generic/sha1.c
+++ b/lib_generic/sha1.c
@@ -31,9 +31,11 @@
#ifndef USE_HOSTCC
#include <common.h>
+#include <linux/string.h>
+#else
+#include <string.h>
#endif /* USE_HOSTCC */
#include <watchdog.h>
-#include <linux/string.h>
#include "sha1.h"
/*