]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cocoa/errordialog.cpp
Fix the cocoa error dialog so that it actually compiles
[libs/gui.git] / source / graphics / cocoa / errordialog.cpp
index ec44461113b675680c7d4e73a0ac2a743ce2aeb7..e923586cf2029270e5811c3ce41fa9f7a878f690 100644 (file)
@@ -1,14 +1,17 @@
+#include <typeinfo>
+#include <msp/core/application.h>
+#include <msp/debug/demangle.h>
+#include "cocoaerrordialog.h"
 #include "errordialog.h"
 
 using namespace std;
 
-extern "C" void run_alert(const char *, const char *);
-
 namespace Msp {
 namespace Graphics {
 
 bool ErrorDialog::report_uncaught_exception(const exception &e) const
 {
+       (void)display;
        if(Application::get_data())
        {
                string type = Debug::demangle(typeid(e).name());