summaryrefslogtreecommitdiff
path: root/src/gl/fseeko.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl/fseeko.c')
-rw-r--r--src/gl/fseeko.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl/fseeko.c b/src/gl/fseeko.c
index b38badd1a1..1c65d2a848 100644
--- a/src/gl/fseeko.c
+++ b/src/gl/fseeko.c
@@ -128,7 +128,7 @@ fseeko (FILE *fp, off_t offset, int whence)
fp->_offset = pos;
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
-# if defined __CYGWIN__
+# if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000)
/* fp_->_offset is typed as an integer. */
fp_->_offset = pos;
# else