diff options
-rw-r--r-- | otherlibs/threads/scheduler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c index c49dc3d9e..6b6ab91c9 100644 --- a/otherlibs/threads/scheduler.c +++ b/otherlibs/threads/scheduler.c @@ -10,6 +10,11 @@ #include "io.h" #include "roots.h" +#if defined(HAS_SELECT) && defined(HAS_SETITIMER) && defined(HAS_GETTIMEOFDAY) +#else +#include "Cannot compile libthreads, system calls missing" +#endif + /* Configuration */ /* Initial size of stack when a thread is created (4 Ko) */ |