Try to fix some of the build problems, it still bumms out on:
[obnox/wireshark/wip.git] / capture_sync.c
index 02223ef28a80d978cffb1d0b3f9e540d3a7529e5..04614b2ebeab2d90cce3e9a39cfb4fd80c8317f6 100644 (file)
@@ -463,9 +463,11 @@ sync_pipe_start(capture_options *capture_opts) {
         }
 #endif
 
+#ifdef HAVE_PCAP_CREATE
         if (interface_opts.monitor_mode) {
             argv = sync_pipe_add_arg(argv, &argc, "-I");
         }
+#endif
 
 #ifdef HAVE_PCAP_REMOTE
         if (interface_opts.datatx_udp)