]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/sha256.c
lib/sha256: fix compile on some hosts
[karo-tx-uboot.git] / lib / sha256.c
index 3212baba5f6c253f635220bd55b0c31707ae9341..b1085ea791759128dad36cc338bb8430d5389a32 100644 (file)
@@ -8,9 +8,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 <sha256.h>
 
 /*