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