diff -r f75ee4849c40 src/arch/sparc/remote_gdb.cc --- a/src/arch/sparc/remote_gdb.cc Wed Jun 27 19:23:02 2012 -0400 +++ b/src/arch/sparc/remote_gdb.cc Fri Aug 17 16:42:26 2012 +0200 @@ -116,6 +116,7 @@ * "Stub" to allow remote cpu to debug over a serial line using gdb. */ +#include #include #include diff -r f75ee4849c40 src/base/remote_gdb.cc --- a/src/base/remote_gdb.cc Wed Jun 27 19:23:02 2012 -0400 +++ b/src/base/remote_gdb.cc Fri Aug 17 16:42:26 2012 +0200 @@ -116,6 +116,7 @@ * "Stub" to allow remote cpu to debug over a serial line using gdb. */ +#include #include #include diff -r f75ee4849c40 src/sim/syscall_emul.hh --- a/src/sim/syscall_emul.hh Wed Jun 27 19:23:02 2012 -0400 +++ b/src/sim/syscall_emul.hh Fri Aug 17 16:42:26 2012 +0200 @@ -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