"#ifdef" out a definition not used if HAVE_LIBPCAP isn't defined.

Change-Id: Ifc0f89706c0633925c57d1fed3a56c7e531a3b39
Reviewed-on: https://code.wireshark.org/review/13095
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-01-06 21:20:03 -08:00
parent b2bf9e3306
commit 69a81b02f5
1 changed files with 2 additions and 0 deletions

View File

@ -43,7 +43,9 @@
#include <QHeaderView>
#include <QTimer>
#ifdef HAVE_LIBPCAP
const int stat_update_interval_ = 1000; // ms
#endif
InterfaceTree::InterfaceTree(QWidget *parent) :
QTreeWidget(parent)