openbsd-ports/net/hping/patches/patch-libpcap_stuff_c
naddy d4bbf8c892 Update to 2.0.0rc2 from Chris Kuethe <ckuethe@ualberta.ca>:
"I've been running this for quite some time now, and it plays much
nicer with machines with multiple interfaces that come and go.
Also, the traceroute mode seems a lot more accurate."

LP64 fixes from yours truly.

ok maintainer
2004-04-21 00:16:12 +00:00

12 lines
388 B
Plaintext

$OpenBSD: patch-libpcap_stuff_c,v 1.1 2004/04/21 00:16:12 naddy Exp $
--- libpcap_stuff.c.orig 2004-04-20 22:25:34.000000000 +0200
+++ libpcap_stuff.c 2004-04-20 22:25:49.000000000 +0200
@@ -14,6 +14,7 @@
#if (!defined OSTYPE_LINUX) || (defined FORCE_LIBPCAP)
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/ioctl.h>
#include <pcap.h>
#include <net/bpf.h>