aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_dlg.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-08-20 19:30:35 +0000
committerGuy Harris <guy@alum.mit.edu>2011-08-20 19:30:35 +0000
commit67c5a87057468d4b2f58b9395dba1e14050fe395 (patch)
tree22056be25b2b66a7cd14be802190d022183ce06c /gtk/capture_dlg.h
parent00058274edf0a862a57706db4d522cb38ab6a7db (diff)
The remote_options structure is not used if we don't have remote capture
support in pcap, so don't declare it if HAVE_PCAP_REMOTE isn't defined. svn path=/trunk/; revision=38629
Diffstat (limited to 'gtk/capture_dlg.h')
-rw-r--r--gtk/capture_dlg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/capture_dlg.h b/gtk/capture_dlg.h
index 2a156ebce8..47ead127b5 100644
--- a/gtk/capture_dlg.h
+++ b/gtk/capture_dlg.h
@@ -44,18 +44,16 @@ struct remote_host {
gboolean nocap_rpcap;
gboolean nocap_local;
};
-#endif
typedef struct remote_options_tag {
-#ifdef HAVE_PCAP_REMOTE
capture_source src_type;
struct remote_host remote_host_opts;
-#endif
#ifdef HAVE_PCAP_SETSAMPLING
capture_sampling sampling_method;
int sampling_param;
#endif
} remote_options;
+#endif /* HAVE_PCAP_REMOTE */
typedef struct row_options_tag {
gchar *name;