aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvas-libraries/001-maxhostnamelen.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-11-30 14:10:02 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-11-30 14:10:02 +0000
commit893015934bd03e0035d8681a05f455a9623395d2 (patch)
treef60bdd85e9b975e270d9bf14280e4cb256276aea /testing/openvas-libraries/001-maxhostnamelen.patch
parent017d4f32654b2a505d8a37e12c71a0ddf02dc96e (diff)
downloadaports-893015934bd03e0035d8681a05f455a9623395d2.tar.bz2
aports-893015934bd03e0035d8681a05f455a9623395d2.tar.xz
testing/openvas-libraries: new aport
Diffstat (limited to 'testing/openvas-libraries/001-maxhostnamelen.patch')
-rw-r--r--testing/openvas-libraries/001-maxhostnamelen.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/openvas-libraries/001-maxhostnamelen.patch b/testing/openvas-libraries/001-maxhostnamelen.patch
new file mode 100644
index 0000000000..373554d4ab
--- /dev/null
+++ b/testing/openvas-libraries/001-maxhostnamelen.patch
@@ -0,0 +1,12 @@
+diff --git a/misc/pcap.c b/misc/pcap.c
+index 125ea24..fa24299 100644
+--- a/misc/pcap.c
++++ b/misc/pcap.c
+@@ -16,6 +16,7 @@
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
++#include <sys/param.h>
+ #include <netinet/in.h>
+ #include <resolv.h>
+ #include <pcap.h>