summaryrefslogtreecommitdiff
path: root/security/openvas-libraries/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'security/openvas-libraries/patches/patch-aj')
-rw-r--r--security/openvas-libraries/patches/patch-aj14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/openvas-libraries/patches/patch-aj b/security/openvas-libraries/patches/patch-aj
new file mode 100644
index 00000000000..3b63f6f12af
--- /dev/null
+++ b/security/openvas-libraries/patches/patch-aj
@@ -0,0 +1,14 @@
+$NetBSD: patch-aj,v 1.1 2011/01/01 12:13:11 obache Exp $
+
+* need to include sys/socket.h exactly on DragonFly.
+
+--- libopenvas/ids_send.c.orig 2008-12-16 13:03:21.000000000 +0000
++++ libopenvas/ids_send.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <arpa/inet.h>
++#include <sys/socket.h>
+
+ #include "arglists.h"
+ #include "bpf_share.h"