summaryrefslogtreecommitdiff
path: root/src/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorPalle Lyckegaard <palle@lyckegaard.dk>2012-09-10 11:57:42 -0400
committerPalle Lyckegaard <palle@lyckegaard.dk>2012-09-10 11:57:42 -0400
commit21d4d50ba1f8aae47108db91bc20108812fb62a4 (patch)
treef246eec3cf8a658fb11264cdfe5756c0c0bd5ff2 /src/sim/syscall_emul.hh
parent3215ed97549a5cb65414e0f926cc8ab17b5c473b (diff)
downloadgem5-21d4d50ba1f8aae47108db91bc20108812fb62a4.tar.xz
NetBSD: Build on NetBSD
Minor patch against so building on NetBSD is possible.
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r--src/sim/syscall_emul.hh3
1 files changed, 2 insertions, 1 deletions
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