diff options
Diffstat (limited to 'firmware/kernel')
-rw-r--r-- | firmware/kernel/thread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/kernel/thread.c b/firmware/kernel/thread.c index 29ab9db873..307be7116a 100644 --- a/firmware/kernel/thread.c +++ b/firmware/kernel/thread.c | |||
@@ -37,6 +37,9 @@ | |||
37 | #endif | 37 | #endif |
38 | #include "core_alloc.h" | 38 | #include "core_alloc.h" |
39 | 39 | ||
40 | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) | ||
41 | #include <errno.h> | ||
42 | #endif | ||
40 | /* Define THREAD_EXTRA_CHECKS as 1 to enable additional state checks */ | 43 | /* Define THREAD_EXTRA_CHECKS as 1 to enable additional state checks */ |
41 | #ifdef DEBUG | 44 | #ifdef DEBUG |
42 | #define THREAD_EXTRA_CHECKS 1 /* Always 1 for DEBUG */ | 45 | #define THREAD_EXTRA_CHECKS 1 /* Always 1 for DEBUG */ |