summaryrefslogtreecommitdiff
path: root/source/files.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-08-05 22:20:58 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-08-05 22:20:58 +0000
commit781a84da5cf398d251592320e4b78b144c7368f6 (patch)
tree71edb3a31c969f4d3ed53d3167d54d38f563be38 /source/files.c
parent56a5b6d3ad2ef1ac26f4c80a9c37fc6bc1ada19f (diff)
Fixed unix builds broken by previous commit.
Diffstat (limited to 'source/files.c')
-rw-r--r--source/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/files.c b/source/files.c
index b589ede..3af6d1d 100644
--- a/source/files.c
+++ b/source/files.c
@@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#if USE_ZLIB
#include <zlib.h>
#endif
-#ifdef _WIN32
+#ifndef _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>