summaryrefslogtreecommitdiff
path: root/src/kernel/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib')
-rw-r--r--src/kernel/lib/sched.cpp (renamed from src/kernel/lib/sched.c)1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/lib/sched.c b/src/kernel/lib/sched.cpp
index 29ea8a8..06900d1 100644
--- a/src/kernel/lib/sched.c
+++ b/src/kernel/lib/sched.cpp
@@ -1,4 +1,5 @@
#include <sched.h>
+#include <task/task.h>
/* Internal use only. This function is atomic, meaning it cannot be interrupted by a system task switch. */
static uint32_t atomic_exchange(uint32_t* ptr, uint32_t newval) {