diff options
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/md5.c | 4 | ||||
-rw-r--r-- | lib_generic/sha1.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib_generic/md5.c b/lib_generic/md5.c index 20178b8dcd2..78ef47535e9 100644 --- a/lib_generic/md5.c +++ b/lib_generic/md5.c @@ -25,6 +25,10 @@ and to fit the cifs vfs by Steve French sfrench@us.ibm.com */ +#ifndef USE_HOSTCC +#include <common.h> +#endif /* USE_HOSTCC */ +#include <watchdog.h> #include <linux/types.h> #include <linux/string.h> #include <u-boot/md5.h> diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c index 69506592f71..c8ef4d28273 100644 --- a/lib_generic/sha1.c +++ b/lib_generic/sha1.c @@ -29,6 +29,10 @@ #define _CRT_SECURE_NO_DEPRECATE 1 #endif +#ifndef USE_HOSTCC +#include <common.h> +#endif /* USE_HOSTCC */ +#include <watchdog.h> #include <linux/string.h> #include "sha1.h" |