From e36628d2aab64145cd466b260943cabd5f550ad8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 14 May 2010 02:47:13 +0000 Subject: If something is only supposed to be included if we have libpcap, don't put #ifdef HAVE_LIBPCAP in it. Add multiple-inclusion protection to capture_errs.h. svn path=/trunk/; revision=32803 --- capture.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'capture.h') diff --git a/capture.h b/capture.h index 3465d40c4c..f3107fc013 100644 --- a/capture.h +++ b/capture.h @@ -101,8 +101,6 @@ extern void capture_input_cfilter_error_message(capture_options *capture_opts, c */ extern void capture_input_closed(capture_options *capture_opts); -#ifdef HAVE_LIBPCAP - struct if_stat_cache_s; typedef struct if_stat_cache_s if_stat_cache_t; @@ -123,6 +121,5 @@ extern gboolean capture_stats(if_stat_cache_t *sc, char *ifname, struct pcap_sta * Stop gathering capture statistics. */ void capture_stat_stop(if_stat_cache_t *sc); -#endif /* HAVE_LIBPCAP */ #endif /* capture.h */ -- cgit v1.2.3