| Index: src/d8-posix.cc
|
| diff --git a/src/d8-posix.cc b/src/d8-posix.cc
|
| index 289c3b0ae8f898c4c65c6fb405a2a106dd0f4923..8a278e4e42edfc2d8443e170caa93b7bc3aaf515 100644
|
| --- a/src/d8-posix.cc
|
| +++ b/src/d8-posix.cc
|
| @@ -366,7 +366,8 @@ static Handle<Value> GetStdout(int child_fd,
|
| // We're disabling usage of waitid in Mac OS X because it doens't work for us:
|
| // a parent process hangs on waiting while a child process is already a zombie.
|
| // See http://code.google.com/p/v8/issues/detail?id=401.
|
| -#if defined(WNOWAIT) && !defined(ANDROID) && !defined(__APPLE__)
|
| +#if defined(WNOWAIT) && !defined(ANDROID) && !defined(__APPLE__) \
|
| + && !defined(__NetBSD__)
|
| #if !defined(__FreeBSD__)
|
| #define HAS_WAITID 1
|
| #endif
|
|
|