pkgsrc/security/openvas-libraries/patches/patch-ai
obache 710ac4d051 Fixes build failure on DragonFly-2.8.2.
* not have libresolv, but required functions in libc.
* need to include <sys/socket.h> exactly in some place.
2011-01-01 12:13:10 +00:00

14 lines
391 B
Text

$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"