From 8ae93368a131a38d0f77368e7de84e9c5ae01d36 Mon Sep 17 00:00:00 2001
From: Alex Stratford <alexander3.stratford@live.uwe.ac.uk>
Date: Wed, 4 Dec 2019 12:58:53 +0000
Subject: [PATCH] Added dependency for NULL

---
 userprog/syscall_open.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/userprog/syscall_open.c b/userprog/syscall_open.c
index 8855a8b..fadce95 100644
--- a/userprog/syscall_open.c
+++ b/userprog/syscall_open.c
@@ -7,6 +7,7 @@
 
 
 #include "system_calls.h"
+#include <stddef.h> // Dependency for NULL
 #include "threads/interrupt.h" // Dependency for intr_frame struct
 #include "filesys/file.h" // Dependency for and file struct
 #include "filesys/filesys.h" // Dependency for filesys_open
-- 
GitLab