diff options
Diffstat (limited to 'lib/libpthread/include/sched.h')
-rw-r--r-- | lib/libpthread/include/sched.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h index 292edf7b2e3..46f8e9703d8 100644 --- a/lib/libpthread/include/sched.h +++ b/lib/libpthread/include/sched.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.h,v 1.2 1999/03/10 10:03:52 d Exp $ */ +/* $OpenBSD: sched.h,v 1.3 1999/11/25 07:01:29 d Exp $ */ #ifndef _SCHED_H_ #define _SCHED_H_ @@ -40,6 +40,10 @@ #include <sys/types.h> /* For pid_t */ +#ifndef KERNEL +#include <time.h> /* Per P1003.4 */ +#endif + /* Scheduling policies */ #define SCHED_FIFO 1 @@ -53,8 +57,6 @@ struct sched_param #ifndef KERNEL #include <sys/cdefs.h> -#include <time.h> /* Per P1003.4 */ -#include <sys/time.h> __BEGIN_DECLS int sched_setparam __P((pid_t, const struct sched_param *)); |