$OpenBSD$

Index: IO/EnSight/vtkEnSightGoldBinaryReader.cxx
--- IO/EnSight/vtkEnSightGoldBinaryReader.cxx.orig
+++ IO/EnSight/vtkEnSightGoldBinaryReader.cxx
@@ -37,7 +37,7 @@
 #if defined(_WIN32)
 # define VTK_STAT_STRUCT struct _stat64
 # define VTK_STAT_FUNC _stat64
-#elif defined _DARWIN_FEATURE_64_BIT_INODE || defined __FreeBSD__
+#elif defined _DARWIN_FEATURE_64_BIT_INODE || defined __FreeBSD__ || defined __OpenBSD__
 // FreeBSD and OSX use stat
 # define VTK_STAT_STRUCT struct stat
 # define VTK_STAT_FUNC stat
