$OpenBSD: patch-libclamav_clamav_h,v 1.4 2019/01/07 22:49:14 sthen Exp $

Index: libclamav/clamav.h
--- libclamav/clamav.h.orig
+++ libclamav/clamav.h
@@ -38,7 +38,7 @@
 #define STAT64_BLACKLIST 0
 #endif
 
-#if defined(HAVE_STAT64) && STAT64_BLACKLIST
+#if defined(HAVE_STAT64) && !defined(__FreeBSD__) && !defined(__APPLE__)
 
 #include <unistd.h>
 
