diff --git a/src/arch/sparc/remote_gdb.cc b/src/arch/sparc/remote_gdb.cc index 1298e327ee..cafd1799f6 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 #include #include diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index af6857a36f..49b7ce50d2 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 #include #include diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index b5a8e49d4b..aec1598388 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