From 21d4d50ba1f8aae47108db91bc20108812fb62a4 Mon Sep 17 00:00:00 2001 From: Palle Lyckegaard Date: Mon, 10 Sep 2012 11:57:42 -0400 Subject: [PATCH] NetBSD: Build on NetBSD Minor patch against so building on NetBSD is possible. --- src/arch/sparc/remote_gdb.cc | 1 + src/base/remote_gdb.cc | 1 + src/sim/syscall_emul.hh | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) 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 #include #include 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 #include #include 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 -- 2.30.2