summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-21 09:34:16 -0400
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-21 14:35:25 +0000
commit14605754afc3dd0da0ef2da1c534cb4d77cc2d9e (patch)
treed652c00122b943485ccd895bbb987983e4c0e8e1
parenta3d8f31ad0a48f72cd6d8fa2b0c3659c9ea84745 (diff)
downloadwireshark-14605754afc3dd0da0ef2da1c534cb4d77cc2d9e.tar.gz
Fix compilation when we don't HAVE_LIBSMI or HAVE_GEOIP.
Change-Id: I7523c183fd46a649947ad316518dfffaddb02dbe Reviewed-on: https://code.wireshark.org/review/3772 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
-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