summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authoritohy <itohy@NetBSD.org>1999-10-21 23:24:08 +0000
committeritohy <itohy@NetBSD.org>1999-10-21 23:24:08 +0000
commita833d94864ad2933765fa0e40a92f3ac92eadfc8 (patch)
treec7d60bbc0e9453924d21123cf9a30708e7552a74 /sys/compat/linux
parentd478b7174629004fde6c729baac70c0883808744 (diff)
Add #include <machine/cpu.h> for need_resched() macro.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_sched.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_sched.c b/sys/compat/linux/common/linux_sched.c
index f843a65b7ec..1128aed1230 100644
--- a/sys/compat/linux/common/linux_sched.c
+++ b/sys/compat/linux/common/linux_sched.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sched.c,v 1.2 1999/10/11 01:18:35 thorpej Exp $ */
+/* $NetBSD: linux_sched.c,v 1.3 1999/10/21 23:24:08 itohy Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -48,6 +48,8 @@
#include <sys/systm.h>
#include <sys/syscallargs.h>
+#include <machine/cpu.h>
+
#include <compat/linux/common/linux_types.h>
#include <compat/linux/common/linux_signal.h>