summaryrefslogtreecommitdiff
path: root/lib/libc_r/include/sched.h
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-11-25 07:01:48 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-11-25 07:01:48 +0000
commit0fe78c3128864d128b2b10153b8d533ff8c00375 (patch)
tree5229c3d97eed15f4d71927a5f454180aef2632f6 /lib/libc_r/include/sched.h
parented00fa742a6455d22e3b56cf846dc5acd7a51fd7 (diff)
sync with FreeBSD
Diffstat (limited to 'lib/libc_r/include/sched.h')
-rw-r--r--lib/libc_r/include/sched.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc_r/include/sched.h b/lib/libc_r/include/sched.h
index 292edf7b2e3..46f8e9703d8 100644
--- a/lib/libc_r/include/sched.h
+++ b/lib/libc_r/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 *));