From 4020a140d245e28905c051de94f2299c9b389233 Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Wed, 6 Nov 2024 22:36:43 +0000 Subject: [PATCH] Fix removal of 'timer.h' include needed for calling timer_sleep in process module --- src/userprog/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/userprog/process.c b/src/userprog/process.c index 20e2677..4f72dc0 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -20,6 +20,7 @@ #include "threads/thread.h" #include "threads/vaddr.h" #include "threads/synch.h" +#include "devices/timer.h" /* Keeps track of the position of pointers to user program arguments within a linked list. */