From 4408764e6991aa23e35d3a450898ee68059e827a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 7 Dec 2007 23:42:19 +0000 Subject: HAVE_PCAP_H is no longer defined; just use HAVE_LIBPCAP. Fix indentation. svn path=/trunk/; revision=23798 --- wiretap/libpcap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wiretap') diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index ace86d1d78..29adc69308 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -34,11 +34,11 @@ #include "erf.h" #include "libpcap.h" -#ifdef HAVE_PCAP_H +#ifdef HAVE_LIBPCAP #include #endif -#ifdef HAVE_PCAP_H +#ifdef HAVE_LIBPCAP # ifdef HAVE_SYS_TYPES_H # include # endif @@ -2265,7 +2265,7 @@ static int wtap_wtap_encap_to_pcap_encap(int encap) return -1; } -#ifdef HAVE_PCAP_H +#ifdef HAVE_LIBPCAP /* * Given a Wiretap encapsulation type, and raw packet data and the packet * header from libpcap, process any pseudo-header in the packet, @@ -2277,7 +2277,7 @@ wtap_process_pcap_packet(gint linktype, const struct pcap_pkthdr *phdr, const guchar *pd, union wtap_pseudo_header *pseudo_header, struct wtap_pkthdr *whdr, int *err) { - guint size; + guint size; /* "phdr->ts" may not necessarily be a "struct timeval" - it may be a "struct bpf_timeval", with member sizes wired to 32 -- cgit v1.2.3