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>
This commit is contained in:
Jeff Morriss 2014-08-21 09:34:16 -04:00
parent a3d8f31ad0
commit 14605754af
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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