Fixed build withouth HAVE_PCAP_REMOTE.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Aug 2011 19:42:15 +0000 (19:42 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 20 Aug 2011 19:42:15 +0000 (19:42 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38630 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/capture_dlg.h
gtk/main_welcome.h

index 47ead127b50b8b8b1fa7cc449dc2da1ba358a84e..f127a87c51758223aa2641de4cd3ac41df567c8d 100644 (file)
@@ -73,7 +73,9 @@ typedef struct row_options_tag {
 #if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
     gint buffer;
 #endif
 #if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
     gint buffer;
 #endif
+#ifdef HAVE_PCAP_REMOTE
     remote_options remote_opts;
     remote_options remote_opts;
+#endif
 } interface_row;
 
 typedef struct link_row_tag {
 } interface_row;
 
 typedef struct link_row_tag {
index b867581956c7b606ad96ceb4e09ec856346a5d55..75f0d0fae1ba267e8799e3a015392c6f02e8cfd7 100644 (file)
@@ -44,7 +44,9 @@ typedef struct displayed_interface_s {
        gchar *name;
        gchar *descr;
        GtkWidget *icon;
        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);
 } 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);
 
 
 void change_selection_for_all(gboolean enable);
 
+#ifdef HAVE_PCAP_REMOTE
 void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts);
 void add_interface_to_list(gchar *name, gchar *descr, remote_options *remote_opts);
+#endif
 
 #endif /* __MAIN_WELCOME_H__ */
 
 #endif /* __MAIN_WELCOME_H__ */