aboutsummaryrefslogtreecommitdiff
path: root/src/msgfile.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-23 18:12:04 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-23 18:12:04 +0000
commitedf5c893ae777ded3f22d4146b306afee22fd912 (patch)
tree139d25f45ec751cca98fcb121eeb8194a84fc1a7 /src/msgfile.c
parent242592b5ed164d44c2c05d4c68c5d5c694ca0a9a (diff)
include <unistd.h> on non-w32 platforms (not just linux)
svn path=/trunk/externals/zexy/; revision=4475
Diffstat (limited to 'src/msgfile.c')
-rw-r--r--src/msgfile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/msgfile.c b/src/msgfile.c
index 164466c..ed1c676 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -26,11 +26,10 @@
#include <fcntl.h>
#include <string.h>
-#ifdef linux
-# include <unistd.h>
-#endif
#ifdef __WIN32__
# include <io.h>
+#else
+# include <unistd.h>
#endif
/* ****************************************************************************** */