diff --git a/src/userprog/process.h b/src/userprog/process.h index 8b7fd49..143b256 100644 --- a/src/userprog/process.h +++ b/src/userprog/process.h @@ -4,6 +4,8 @@ #include #include "threads/thread.h" #include "threads/synch.h" +#include "filesys/file.h" +#include "filesys/filesys.h" typedef int pid_t; diff --git a/src/userprog/syscall.c b/src/userprog/syscall.c index cdadb2b..9d07b77 100644 --- a/src/userprog/syscall.c +++ b/src/userprog/syscall.c @@ -12,8 +12,6 @@ #include "userprog/process.h" #include "devices/shutdown.h" #include "devices/input.h" -#include "filesys/filesys.h" -#include "filesys/file.h" #define USER_ASSERT(CONDITION) \ if (CONDITION) \