summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index f8ed3cd1d8..5e0d2e56ea 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -126,6 +126,8 @@ typedef struct interface_tag {
gboolean local;
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
gint buffer;
+#endif
+#ifdef HAVE_PCAP_CREATE
gboolean monitor_mode_enabled;
gboolean monitor_mode_supported;
#endif