summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/ksched.c1
-rw-r--r--sys/posix4/ksched.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/ksched.c b/sys/kern/ksched.c
index 90c029a..c59fc05 100644
--- a/sys/kern/ksched.c
+++ b/sys/kern/ksched.c
@@ -38,6 +38,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/kernel.h>
+#include <sys/resource.h>
#include <machine/cpu.h> /* For need_resched */
#include <posix4/posix4.h>
diff --git a/sys/posix4/ksched.c b/sys/posix4/ksched.c
index 90c029a..c59fc05 100644
--- a/sys/posix4/ksched.c
+++ b/sys/posix4/ksched.c
@@ -38,6 +38,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/kernel.h>
+#include <sys/resource.h>
#include <machine/cpu.h> /* For need_resched */
#include <posix4/posix4.h>
OpenPOWER on IntegriCloud