diff options
-rw-r--r-- | include/libc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libc.h b/include/libc.h index 3c5537e4..65c23dd5 100644 --- a/include/libc.h +++ b/include/libc.h @@ -900,7 +900,8 @@ extern int post9pservice(int, char*); # endif #endif -#if defined(__OpenBSD__) +/* this really shouldn't be here */ +#if defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(sched_yield)) #define sched_yield() \ do { \ struct timespec ts; \ |