summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/sched.h
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-11-25 07:01:27 +0000
committerd <d@openbsd.org>1999-11-25 07:01:27 +0000
commit55c3be94fd3300052ae99760eb43f4d203a9deb4 (patch)
tree7e280922b53046d374ca3a322bae9e199089037b /lib/libpthread/include/sched.h
parentkeep freebsd's thread info distcint from mine (diff)
downloadwireguard-openbsd-55c3be94fd3300052ae99760eb43f4d203a9deb4.tar.xz
wireguard-openbsd-55c3be94fd3300052ae99760eb43f4d203a9deb4.zip
sync with FreeBSD
Diffstat (limited to 'lib/libpthread/include/sched.h')
-rw-r--r--lib/libpthread/include/sched.h8
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 *));