summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-05 22:05:20 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-05 22:05:20 -0400
commit0615cb8042b5bc381288b1eb99fdfdda21f5dfeb (patch)
tree359738419f3b47e6dcefd525dd9a8dda097dc209
parent29f5385263367ada481cb91fb5f44b6c1f90c59c (diff)
downloadrockbox-0615cb8.tar.gz
rockbox-0615cb8.tar.bz2
rockbox-0615cb8.zip
Hosted builds using thread.c have errno as thread context.
Never came up testing but I don't have those SDKs installed. Taking a jab at it. Change-Id: I4d0de1c666e0895d41b3de41dd9024626bd37601
-rw-r--r--firmware/asm/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/asm/thread.h b/firmware/asm/thread.h
index 3fa8f5625d..be48095a8c 100644
--- a/firmware/asm/thread.h
+++ b/firmware/asm/thread.h
@@ -35,7 +35,7 @@ struct regs
size_t stack_size; /* stack size, not always used */
uintptr_t stack; /* pointer to start of the stack buffer */
};
-
+ #include <errno.h>
#ifdef HAVE_SIGALTSTACK_THREADS
#include <signal.h>
/* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */