summaryrefslogtreecommitdiff
path: root/security/openvas-libraries/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'security/openvas-libraries/patches/patch-ai')
-rw-r--r--security/openvas-libraries/patches/patch-ai14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/openvas-libraries/patches/patch-ai b/security/openvas-libraries/patches/patch-ai
new file mode 100644
index 00000000000..6582b76861b
--- /dev/null
+++ b/security/openvas-libraries/patches/patch-ai
@@ -0,0 +1,14 @@
+$NetBSD: patch-ai,v 1.1 2011/01/01 12:13:11 obache Exp $
+
+* need to include sys/socket.h exactly on DragonFly.
+
+--- libopenvas/ftp_funcs.c.orig 2008-12-16 13:03:21.000000000 +0000
++++ libopenvas/ftp_funcs.c
+@@ -30,6 +30,7 @@
+ /* this works for libc6 systems, unclear
+ * wether it will not work on other systems */
+ #include <netinet/in.h>
++#include <sys/socket.h>
+
+ #include "network.h"
+