$OpenBSD: patch-libclamav_clamav_h,v 1.1 2017/05/25 13:28:27 espie Exp $

Index: libclamav/clamav.h
--- libclamav/clamav.h.orig
+++ libclamav/clamav.h
@@ -34,7 +34,7 @@
 /* Certain OSs already use 64bit variables in their stat struct */
 #define STAT64_BLACKLIST !defined(__FreeBSD__) && !defined(__APPLE__)
 
-#if defined(HAVE_STAT64) && STAT64_BLACKLIST
+#if defined(HAVE_STAT64) && !defined(__FreeBSD__) && !defined(__APPLE__)
 
 #include <unistd.h>
 
