diff --git a/src/error.cpp b/src/error.cpp index 55c73e0..cc025aa 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -1,4 +1,5 @@ #include +#include #ifndef NO_GRAPHICAL_DIALOG #include @@ -14,7 +15,7 @@ void showError(std::string message, std::string titleMessage, bool fatal = true) std::cerr << ": " << message << std::endl; if (fatal) { - std::abort(); + exit(EXIT_FAILURE); } }