diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-12-13 11:01:11 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-12-13 11:01:11 +0000 |
commit | d8de77a1d48e65d102cae242442bae61cda3c413 (patch) | |
tree | 6e2ca3c17b676c0553efc1fe3ade84c5a5f9ff5f /security/openvas-libraries/patches | |
parent | d8d3fca5a5ed10a54b457db1acd9bc1931a68058 (diff) | |
download | pkgsrc-d8de77a1d48e65d102cae242442bae61cda3c413.tar.gz |
Include config.h before testing for things it defines. Fixes SunOS.
Diffstat (limited to 'security/openvas-libraries/patches')
-rw-r--r-- | security/openvas-libraries/patches/patch-ac | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/security/openvas-libraries/patches/patch-ac b/security/openvas-libraries/patches/patch-ac index 8cca6d063b1..8db8158499c 100644 --- a/security/openvas-libraries/patches/patch-ac +++ b/security/openvas-libraries/patches/patch-ac @@ -1,12 +1,23 @@ -$NetBSD: patch-ac,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $ +$NetBSD: patch-ac,v 1.2 2013/12/13 11:01:11 jperkin Exp $ + +Include config.h before testing for things it defines. --- libopenvas/pcap.c.orig 2008-12-16 13:03:21.000000000 +0000 +++ libopenvas/pcap.c -@@ -16,6 +16,7 @@ +@@ -16,6 +16,8 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ ++#include "config.h" +#include <netinet/in.h> #include <resolv.h> #include <pcap.h> #include <net/if.h> +@@ -33,7 +35,6 @@ + #include "pcap_openvas.h" + #include "system_internal.h" + #include "network.h" +-#include "config.h" + + #define MAXROUTES 1024 + |