diff options
author | Palle Lyckegaard <palle@lyckegaard.dk> | 2012-09-10 11:57:42 -0400 |
---|---|---|
committer | Palle Lyckegaard <palle@lyckegaard.dk> | 2012-09-10 11:57:42 -0400 |
commit | 21d4d50ba1f8aae47108db91bc20108812fb62a4 (patch) | |
tree | f246eec3cf8a658fb11264cdfe5756c0c0bd5ff2 /src | |
parent | 3215ed97549a5cb65414e0f926cc8ab17b5c473b (diff) | |
download | gem5-21d4d50ba1f8aae47108db91bc20108812fb62a4.tar.xz |
NetBSD: Build on NetBSD
Minor patch against so building on NetBSD is possible.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/sparc/remote_gdb.cc | 1 | ||||
-rw-r--r-- | src/base/remote_gdb.cc | 1 | ||||
-rw-r--r-- | src/sim/syscall_emul.hh | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/sparc/remote_gdb.cc b/src/arch/sparc/remote_gdb.cc index 1298e327e..cafd1799f 100644 --- a/src/arch/sparc/remote_gdb.cc +++ b/src/arch/sparc/remote_gdb.cc @@ -116,6 +116,7 @@ * "Stub" to allow remote cpu to debug over a serial line using gdb. */ +#include <signal.h> #include <sys/signal.h> #include <unistd.h> diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index af6857a36..49b7ce50d 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -116,6 +116,7 @@ * "Stub" to allow remote cpu to debug over a serial line using gdb. */ +#include <signal.h> #include <sys/signal.h> #include <unistd.h> diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index b5a8e49d4..aec159838 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -33,7 +33,8 @@ #define __SIM_SYSCALL_EMUL_HH__ #define NO_STAT64 (defined(__APPLE__) || defined(__OpenBSD__) || \ - defined(__FreeBSD__) || defined(__CYGWIN__)) + defined(__FreeBSD__) || defined(__CYGWIN__) || \ + defined(__NetBSD__)) /// /// @file syscall_emul.hh |