Fix building without extcap enabled
[metze/wireshark/wip.git] / ui / qt / main_window.cpp
index e604c5c708147a891de01e700a926cb6d2292326..8789776c2cf1ea718f215fc3cfbb45d85af86f2c 100644 (file)
@@ -646,7 +646,7 @@ MainWindow::MainWindow(QWidget *parent) :
     connect(main_ui_->welcomePage, SIGNAL(captureFilterSyntaxChanged(bool)),
             this, SLOT(captureFilterSyntaxChanged(bool)));
 
-#if HAVE_EXTCAP
+#ifdef HAVE_EXTCAP
         connect(this->main_welcome_, SIGNAL(showExtcapOptions(QString&)),
                 this, SLOT(showExtcapOptionsDialog(QString&)));
 #endif