summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib_generic/md5.c2
-rw-r--r--lib_generic/sha1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c
index a9aae4682f..9150510bbc 100644
--- a/lib_generic/md5.c
+++ b/lib_generic/md5.c
@@ -27,12 +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
diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c
index a192e5f3dd..da5bc16f3c 100644
--- a/lib_generic/sha1.c
+++ b/lib_generic/sha1.c
@@ -31,11 +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"
/*