aboutsummaryrefslogtreecommitdiff
path: root/src/msgfile.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-27 20:20:38 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-27 20:20:38 +0000
commit5551fe16e5e69f146943e494417d5432c53f016e (patch)
tree2d499951126098c19c43b9b87d82607fe67fc491 /src/msgfile.c
parent0d84ac0971e30a21fcbdb6ff68c18e998f61feef (diff)
on w32 include io.h rather than unistd.h
svn path=/trunk/externals/zexy/; revision=11176
Diffstat (limited to 'src/msgfile.c')
-rw-r--r--src/msgfile.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/msgfile.c b/src/msgfile.c
index 71509a0..d0ea9f6 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -22,11 +22,18 @@
*/
#include "zexy.h"
+
+#ifdef __WIN32__
+# include <io.h>
+#else
+# include <unistd.h>
+#endif
+
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
-#include <unistd.h>
+
/* ****************************************************************************** */
/* msgfile : save and load messages... */