Index: StormLib/src/StormPort.h
--- StormLib/src/StormPort.h.orig
+++ StormLib/src/StormPort.h
@@ -359,7 +359,7 @@
 #endif // !STORMLIB_WINDOWS
 
 // 64-bit calls are supplied by "normal" calls on Mac
-#if defined(STORMLIB_MAC)
+#if defined(STORMLIB_MAC) || defined(__OpenBSD__)
   #define stat64  stat
   #define fstat64 fstat
   #define lseek64 lseek
