summaryrefslogtreecommitdiff
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-14 02:47:13 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-14 02:47:13 +0000
commite36628d2aab64145cd466b260943cabd5f550ad8 (patch)
tree95b4ba34a75a07637de459e86bc88b671fe9e356 /capture.h
parent8d56103f48aeb75e3a9be453eb15e03ece652890 (diff)
downloadwireshark-e36628d2aab64145cd466b260943cabd5f550ad8.tar.gz
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
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h3
1 files changed, 0 insertions, 3 deletions
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 */