aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"