blob: 4c31fcd378b60ee7342ad238805fa3128d1bf30e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.3 2006/03/30 13:51:29 salo Exp $
--- libpcap_stuff.c.orig 2002-12-13 15:07:07.000000000 +0100
+++ libpcap_stuff.c 2006-03-22 19:54:51.000000000 +0100
@@ -16,8 +16,10 @@
#include <string.h>
#include <stdlib.h>
#include <sys/ioctl.h>
-#include <pcap.h>
+#include <sys/time.h>
#include <net/bpf.h>
+#define PCAP_DONT_INCLUDE_PCAP_BPF_H
+#include <pcap.h>
#include "globals.h"
|