summaryrefslogtreecommitdiff
path: root/thirdparty/minizip/ioapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/minizip/ioapi.h')
-rw-r--r--thirdparty/minizip/ioapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/minizip/ioapi.h b/thirdparty/minizip/ioapi.h
index e9e5899852..083062ffe6 100644
--- a/thirdparty/minizip/ioapi.h
+++ b/thirdparty/minizip/ioapi.h
@@ -66,7 +66,7 @@
#define ftello64 ftell
#define fseeko64 fseek
#else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define fopen64 fopen
#define ftello64 ftello
#define fseeko64 fseeko