diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/panic.c | 1 | ||||
-rw-r--r-- | lib/time.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/panic.c b/lib/panic.c index 8e72c265a6..58382ac4f4 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -14,6 +14,7 @@ #if !defined(CONFIG_PANIC_HANG) #include <command.h> #endif +#include <linux/delay.h> static void panic_finish(void) __attribute__ ((noreturn)); diff --git a/lib/time.c b/lib/time.c index 551698e36d..65db0f6cda 100644 --- a/lib/time.c +++ b/lib/time.c @@ -14,6 +14,7 @@ #include <watchdog.h> #include <div64.h> #include <asm/io.h> +#include <linux/delay.h> #ifndef CONFIG_WD_PERIOD # define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ |