aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-12-16 19:18:17 +0000
committerMax Horn2004-12-16 19:18:17 +0000
commitea80946978cf6406e0bf10f475788269e5ab4400 (patch)
tree274757788f4b53065a6678dcc8d099e746e54001
parent881b60a8ebb7d361e7772ec5aa485f7f0047adfb (diff)
downloadscummvm-rg350-ea80946978cf6406e0bf10f475788269e5ab4400.tar.gz
scummvm-rg350-ea80946978cf6406e0bf10f475788269e5ab4400.tar.bz2
scummvm-rg350-ea80946978cf6406e0bf10f475788269e5ab4400.zip
Using errno isn't really portable; don't have time to fix this properly right now
svn-id: r16086
-rw-r--r--simon/saveload.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/simon/saveload.cpp b/simon/saveload.cpp
index 34c8903722..06b56fa56c 100644
--- a/simon/saveload.cpp
+++ b/simon/saveload.cpp
@@ -21,6 +21,13 @@
#include "stdafx.h"
+#ifndef _WIN32_WCE
+// FIXME TODO FIXME: Using errno is not really portable!
+// We should get rid of this, possibly by adding (clear)ioFailed methods
+// to the SaveFile class.
+#include <errno.h>
+#endif
+
#include "gui/about.h"
#include "gui/message.h"