Make it possible to configure use of NEW_PACKET_LIST and fix

one compile error. It still fails in file.c trying to include gtk/gtk.h in new_packet_list.h

svn path=/trunk/; revision=28903
This commit is contained in:
Anders Broman 2009-07-01 08:23:32 +00:00
parent c18998e9c0
commit ddad90c3e3
3 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,9 @@
@HAVE_AIRPCAP@
@HAVE_AIRPDCAP@
/* Use new packet list or not Warning Experimental */
@HAVE_NEW_PACKET_LIST@
/* availability of pcap_freecode() is handled at runtime */
#define HAVE_PCAP_FREECODE 1

View File

@ -140,6 +140,10 @@ GLIB_VERSION=2.0
GLIB_PKG=2.20.3-1
GLIB_DIR=$(WIRESHARK_LIBS)\glib
##### To Use new packet list uncomment this line ####
### Warning Experimental - work in progress
#NEW_PACKET_LIST_CONFIG=^#define NEW_PACKET_LIST 1
#
# Mandatory: GTK (& related libs) settings
#

View File

@ -61,6 +61,7 @@
#include "gtk/menus.h"
#include "gtk/recent.h"
#include "gtk/color_dlg.h"
#include "gtk/new_packet_list.h "
#ifdef HAVE_LIBPCAP
#include "gtk/capture_dlg.h"
#endif