From: stig Date: Sat, 20 Aug 2011 19:42:15 +0000 (+0000) Subject: Fixed build withouth HAVE_PCAP_REMOTE. X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=9f8eb4eee0f6d560476b5f940ca3fa470f3a3637;ds=sidebyside Fixed build withouth HAVE_PCAP_REMOTE. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38630 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/gtk/capture_dlg.h b/gtk/capture_dlg.h index 47ead127b5..f127a87c51 100644 --- a/gtk/capture_dlg.h +++ b/gtk/capture_dlg.h @@ -73,7 +73,9 @@ typedef struct row_options_tag { #if defined(_WIN32) || defined(HAVE_PCAP_CREATE) gint buffer; #endif +#ifdef HAVE_PCAP_REMOTE remote_options remote_opts; +#endif } interface_row; typedef struct link_row_tag { diff --git a/gtk/main_welcome.h b/gtk/main_welcome.h index b867581956..75f0d0fae1 100644 --- a/gtk/main_welcome.h +++ b/gtk/main_welcome.h @@ -44,7 +44,9 @@ typedef struct displayed_interface_s { gchar *name; gchar *descr; GtkWidget *icon; - remote_options remote_opts; +#ifdef HAVE_PCAP_REMOTE + remote_options remote_opts; +#endif } displayed_interface; GtkWidget *welcome_new(void); @@ -83,6 +85,8 @@ void change_interface_selection(gchar* name, gboolean activate); void change_selection_for_all(gboolean enable); +#ifdef HAVE_PCAP_REMOTE void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts); +#endif #endif /* __MAIN_WELCOME_H__ */