summaryrefslogtreecommitdiffstats
path: root/security/clamav-devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-09-26 13:37:22 +0000
committergarga <garga@FreeBSD.org>2006-09-26 13:37:22 +0000
commit0b6be329e007ed08c28ef1da01caaf8c357233a0 (patch)
tree74de55b298703970e95a7ed032da1bdd404a9aa1 /security/clamav-devel
parent2924693d7c1e8ff8a0ad2e09d4ee76549bb6b7d1 (diff)
downloadFreeBSD-ports-0b6be329e007ed08c28ef1da01caaf8c357233a0.zip
FreeBSD-ports-0b6be329e007ed08c28ef1da01caaf8c357233a0.tar.gz
- Fix build on 7-CURRENT
Thanks to: mnag
Diffstat (limited to 'security/clamav-devel')
-rw-r--r--security/clamav-devel/files/patch-clamd_session.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/clamav-devel/files/patch-clamd_session.c b/security/clamav-devel/files/patch-clamd_session.c
new file mode 100644
index 0000000..3cbe01d
--- /dev/null
+++ b/security/clamav-devel/files/patch-clamd_session.c
@@ -0,0 +1,13 @@
+--- clamd/session.c.orig Wed Sep 13 19:13:20 2006
++++ clamd/session.c Tue Sep 26 09:42:41 2006
+@@ -42,6 +42,10 @@
+ #include <signal.h>
+ #include <errno.h>
+ #include <stddef.h>
++#if (defined(__FreeBSD__) && __FreeBSD_version >= 600000)
++#include <sys/limits.h>
++#endif
++#include <sys/syslimits.h>
+
+ #include "libclamav/clamav.h"
+ #include "libclamav/str.h"
OpenPOWER on IntegriCloud