aboutsummaryrefslogtreecommitdiff
path: root/readsfv~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-21 05:08:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-21 05:08:54 +0000
commit0ca6f43514c11e30d76618be69fcb995b926d0d5 (patch)
tree176c578365c3aa10b8881ac34aac7d4d0b73f4b4 /readsfv~.c
parent66615de24cb4f2d3511ad4a6cee4b28058e3ebb8 (diff)
ported to new template Makefile and debianized it
svn path=/trunk/externals/moonlib/; revision=13184
Diffstat (limited to 'readsfv~.c')
-rw-r--r--readsfv~.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/readsfv~.c b/readsfv~.c
index 195175b..fc9c54f 100644
--- a/readsfv~.c
+++ b/readsfv~.c
@@ -21,13 +21,12 @@ for Windows if someone were willing to find a Pthreads package for it. */
Antoine Rousseau
*/
-#ifdef UNIX
-#include <unistd.h>
-#include <fcntl.h>
-#endif
#include <pthread.h>
#ifdef _WIN32
#include <io.h>
+#else
+#include <unistd.h>
+#include <fcntl.h>
#endif
#include <stdio.h>
#include <string.h>