Nikos Nikoleris has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/14816

Change subject: sim-se: Change include <syscall.h> to include <sys/syscall.h>
......................................................................

sim-se: Change include <syscall.h> to include <sys/syscall.h>

Including <syscall.h> is unecessary and breaks build in Mac OS

Change-Id: I7579370be4ef27cb873ad415985e3f5e810ffde4
Signed-off-by: Nikos Nikoleris <[email protected]>
---
M src/sim/syscall_emul.cc
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc
index 4a6fafa..3d17b5d 100644
--- a/src/sim/syscall_emul.cc
+++ b/src/sim/syscall_emul.cc
@@ -32,7 +32,7 @@
 #include "sim/syscall_emul.hh"

 #include <fcntl.h>
-#include <syscall.h>
+#include <sys/syscall.h>
 #include <unistd.h>

 #include <csignal>

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/14816
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I7579370be4ef27cb873ad415985e3f5e810ffde4
Gerrit-Change-Number: 14816
Gerrit-PatchSet: 1
Gerrit-Owner: Nikos Nikoleris <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to