summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/sparc/remote_gdb.cc1
-rw-r--r--src/base/remote_gdb.cc1
-rw-r--r--src/sim/syscall_emul.hh3
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