diff --git a/src/GUI/MessageBox.cxx b/src/GUI/MessageBox.cxx index d57d89e10..fed1eeffe 100644 --- a/src/GUI/MessageBox.cxx +++ b/src/GUI/MessageBox.cxx @@ -121,7 +121,7 @@ MessageBoxResult modalMessageBox(const std::string& caption, #if defined(SG_WINDOWS) return win32MessageBox(caption, msg, moreText); #elif defined(SG_MAC) - return cocoaFatalMessage(msg, moreText); + return cocoaMessageBox(msg, moreText); #else SG_LOG(SG_GENERAL, SG_ALERT, caption << ":" << msg); if (!moreText.empty()) { diff --git a/src/Main/main.cxx b/src/Main/main.cxx index c146a14c1..42dcf6ba4 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -53,6 +53,7 @@ extern bool global_crashRptEnabled; #include #include #include +#include #include #include @@ -60,6 +61,7 @@ extern bool global_crashRptEnabled; #include #include