diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-14 02:47:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-14 02:47:13 +0000 |
commit | e36628d2aab64145cd466b260943cabd5f550ad8 (patch) | |
tree | 95b4ba34a75a07637de459e86bc88b671fe9e356 /capture.h | |
parent | 8d56103f48aeb75e3a9be453eb15e03ece652890 (diff) |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 */ |