diff options
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/crashlog_unix.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp index ee86cb5ee..5f17fafdb 100644 --- a/src/os/unix/crashlog_unix.cpp +++ b/src/os/unix/crashlog_unix.cpp @@ -27,6 +27,10 @@ # include <dlfcn.h> #endif +#if defined(__NetBSD__) +#include <unistd.h> +#endif + /** * Unix implementation for the crash logger. */ |