diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp index dbe4849afb..f232bd121c 100644 --- a/src/os/unix/crashlog_unix.cpp +++ b/src/os/unix/crashlog_unix.cpp @@ -23,10 +23,6 @@ # include #endif -#if defined(__NetBSD__) -#include -#endif - #ifdef WITH_UNOFFICIAL_BREAKPAD # include #endif @@ -35,6 +31,8 @@ # include /* We avoid abort(), as it is a SIGBART, and use _exit() instead. But emscripten doesn't know _exit(). */ # define _exit emscripten_force_exit +#else +#include #endif #include "../../safeguards.h"