summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/gtk/about_dlg.c2
-rw-r--r--ui/qt/about_dialog.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/ui/gtk/about_dlg.c b/ui/gtk/about_dlg.c
index 151a691feb..8d80ecc7b6 100644
--- a/ui/gtk/about_dlg.c
+++ b/ui/gtk/about_dlg.c
@@ -389,7 +389,7 @@ about_folders_page_new(void)
char *path;
static const gchar *titles[] = { "Name", "Folder", "Typical Files"};
GtkWidget *scrolledwindow;
-#if defined (HAVE_LIBSMI) || defined (HAVE_GEOIP)
+#if defined(HAVE_LIBSMI) || defined(HAVE_GEOIP) || defined(HAVE_EXTCAP)
gint i;
gchar **resultArray;
#endif
diff --git a/ui/qt/about_dialog.cpp b/ui/qt/about_dialog.cpp
index 1d54f6690b..73c32396d7 100644
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -125,8 +125,10 @@ AboutDialog::AboutDialog(QWidget *parent) :
QFile f_license;
const char *constpath;
QString message;
-#if defined (HAVE_LIBSMI) || defined (HAVE_GEOIP)
+#if defined(HAVE_LIBSMI) || defined(HAVE_GEOIP) || defined(HAVE_EXTCAP)
+#if defined(HAVE_LIBSMI) || defined(HAVE_GEOIP)
char *path = NULL;
+#endif
gint i;
gchar **resultArray;
#endif