summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/floptool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/floptool.cpp')
-rw-r--r--src/tools/floptool.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/floptool.cpp b/src/tools/floptool.cpp
index f021e084a62..7be0560bae9 100644
--- a/src/tools/floptool.cpp
+++ b/src/tools/floptool.cpp
@@ -10,6 +10,9 @@
#include "corestr.h"
#include "ioprocs.h"
+#include "strformat.h"
+
+#include "osdcomm.h"
#include <cassert>
#include <cctype>
@@ -18,6 +21,7 @@
#include <cstdlib>
#include <cstring>
#include <ctime>
+#include <exception>
static formats_table formats;
@@ -704,7 +708,7 @@ int CLIB_DECL main(int argc, char *argv[])
display_usage();
return 1;
}
- } catch(const emu_fatalerror &err) {
+ } catch(const std::exception &err) {
fprintf(stderr, "Error: %s", err.what());
return 1;
}