summaryrefslogtreecommitdiff
path: root/net/hping/patches/patch-ad
blob: d727e2ec506d3bd55ab8cb0711aef9b62b1c49ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2005/07/13 14:18:22 drochner Exp $

--- libpcap_stuff.c.orig	2001-08-23 20:49:39.000000000 +0200
+++ libpcap_stuff.c
@@ -15,8 +15,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <pcap.h>
 #include <net/bpf.h>
+#define PCAP_DONT_INCLUDE_PCAP_BPF_H
+#include <pcap.h>
 
 #include "globals.h"