NetBSD: Build on NetBSD

Minor patch against so building on NetBSD is possible.
This commit is contained in:
Palle Lyckegaard
2012-09-10 11:57:42 -04:00
parent 3215ed9754
commit 21d4d50ba1
3 changed files with 4 additions and 1 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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