forked from osmocom/wireshark
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:
parent
a3d8f31ad0
commit
14605754af
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue