diff --git a/gtk/capture_dlg.h b/gtk/capture_dlg.h
index 2a156eb..d7155ed 100644
--- a/gtk/capture_dlg.h
+++ b/gtk/capture_dlg.h
@@ -46,16 +46,16 @@ struct remote_host {
 };
 #endif
 
-typedef struct remote_options_tag {
 #ifdef HAVE_PCAP_REMOTE
+typedef struct remote_options_tag {
     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
 
 typedef struct row_options_tag {
     gchar *name;
@@ -75,7 +75,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 b867581..4ef63ba 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;
+#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__ */
