Don't add the wiretap directory to the list of include directories.
authorGuy Harris <guy@alum.mit.edu>
Thu, 18 Feb 2016 12:06:13 +0000 (04:06 -0800)
committerGuy Harris <guy@alum.mit.edu>
Thu, 18 Feb 2016 12:55:26 +0000 (12:55 +0000)
If you include something from the wiretap directory, always precede it
with wiretap/.

Fix some includes of files in the top-level directory to use a path
relative to the current directory, not relative to the wiretap
directory.

This makes it a bit clearer what's being included.

Change-Id: Ib99655a13c6006cf6c3112e9d4db6f47df9aff54
Reviewed-on: https://code.wireshark.org/review/13990
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
51 files changed:
CMakeLists.txt
Makefile.am
Makefile.nmake
capchild/Makefile.am
capchild/Makefile.nmake
caputils/Makefile.am
caputils/Makefile.nmake
codecs/Makefile.am
echld/Makefile.am
epan/Makefile.nmake
extcap/Makefile.am
extcap/Makefile.nmake
frame_tvbuff.c
randpkt_core/Makefile.am
randpkt_core/Makefile.nmake
ui/Makefile.am
ui/Makefile.nmake
ui/cli/Makefile.am
ui/cli/Makefile.nmake
ui/gtk/Makefile.am
ui/gtk/Makefile.nmake
ui/gtk/about_dlg.c
ui/gtk/capture_dlg.c
ui/gtk/capture_if_dlg.c
ui/gtk/capture_info_dlg.c
ui/gtk/drag_and_drop.c
ui/gtk/export_pdu_dlg.c
ui/gtk/file_import_dlg.c
ui/gtk/fileset_dlg.c
ui/gtk/find_dlg.c
ui/gtk/goto_dlg.c
ui/gtk/main.c
ui/gtk/main_statusbar.c
ui/gtk/main_toolbar.c
ui/gtk/mcast_stream_dlg.c
ui/gtk/packet_win.c
ui/gtk/proto_help.c
ui/gtk/range_utils.c
ui/gtk/rlc_lte_graph.c
ui/gtk/rtp_stream_dlg.c
ui/gtk/summary_dlg.c
ui/gtk/supported_protos_dlg.c
ui/gtk/tap_param_dlg.c
ui/gtk/voip_calls_dlg.c
ui/qt/Makefile.am
ui/qt/Wireshark.pro
ui/qt/about_dialog.cpp
ui/qt/export_pdu_dialog.cpp
ui/tap_export_pdu.c
ui/win32/Makefile.nmake
wiretap/libpcap.h

index dde0c995a5298ecd702084aeca740d10dcc1f447..d39c3086ec6b89a90528b56c162a0f10700e79c6 100644 (file)
@@ -209,7 +209,6 @@ include_directories(
        ${CMAKE_SOURCE_DIR}
        ${CMAKE_SOURCE_DIR}/epan
        ${CMAKE_SOURCE_DIR}/tools/lemon
-       ${CMAKE_SOURCE_DIR}/wiretap
 )
 
 include( CMakeOptions.txt )
index 1976a2bfd21bb3f8f7bc51da786c80fff6951b05..140f95bfb2b8f63943ae77d67a504bcec08a1d0a 100644 (file)
@@ -27,9 +27,8 @@ AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@
 ACLOCAL_AMFLAGS = `./aclocal-flags`
 
 # Common headers
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGNUTLS_CFLAGS) \
-       $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(LUA_CFLAGS) \
-       $(KRB5_CFLAGS)
+AM_CPPFLAGS += $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) \
+       $(LUA_CFLAGS) $(KRB5_CFLAGS)
 
 bin_PROGRAMS = \
        @wireshark_bin@         \
index da01d9c84cd4541b822c8d2bea9ca00cfc4ee43d..c01562964d2fb789e93dc128d23af3b155af7814 100644 (file)
@@ -39,7 +39,7 @@ LDFLAGS = /NOLOGO /INCREMENTAL:NO $(LOCAL_LDFLAGS)
 # We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
-       /I.  /Iwiretap $(GLIB_CFLAGS) \
+       /I. $(GLIB_CFLAGS) \
        $(ZLIB_CFLAGS) /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
        $(C_ARES_CFLAGS) $(ADNS_CFLAGS) $(GNUTLS_CFLAGS) \
        $(SMI_CFLAGS) $(GEOIP_CFLAGS) $(LIBSSH_CFLAGS) $(WINSPARKLE_CFLAGS)
index 5251b047ffd8ac7f09dc05129935dbd6c8a3b839..4d75e0b36f3512a6ec0ad3c8ecaafe15ea1fb191 100644 (file)
@@ -22,8 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
-       $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
 
 noinst_LIBRARIES = libcapchild.a
 
index fa10b26f32ba7fd23e1e1581f74230a24981bb86..be4d1820e53c34d3f48d4e000a13816f38478429 100644 (file)
@@ -11,7 +11,7 @@ include ..\Makefile.nmake.inc
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I.. /I../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
index 48b26cc9c2d7cff6a9bd07dd6e1f046354e1c21d..94db958c001f244e5a604a23297dabdcb568571e 100644 (file)
@@ -22,8 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
-       $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
 
 noinst_LIBRARIES = libcaputils.a
 
index f3eeae37c94275b89d831aae49ca31e18b00d00d..6c38e33f3f794b4c75a01994ef22a0dabef520aa 100644 (file)
@@ -12,7 +12,7 @@ include Makefile.common
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I.. /I../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
index 9242f8a5b0494f710337144e2fb8c06d04b0535e..50111154c26f4e10240aa3b2219c1fec094288ec 100644 (file)
@@ -22,7 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap -DWS_BUILD_DLL
+AM_CPPFLAGS += -DWS_BUILD_DLL
 
 lib_LTLIBRARIES = libwscodecs.la
 
index f92173e58d62813d3e440afc6e36724c75e808f4..8b0898808e1dd00ea646565a6cc32d6b6ebc0fe4 100644 (file)
@@ -23,7 +23,7 @@ include $(top_srcdir)/Makefile.am.inc
 
 ACLOCAL_AMFLAGS = `../aclocal-flags`
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap -DWS_BUILD_DLL
+AM_CPPFLAGS += -DWS_BUILD_DLL
 
 # Optional objects that I know how to build. These will be
 # linked into libechld.
index 6384324b782c7842a0d08c1425cb75afa910d513..984bd85056097a8469b1dd17a1cc252b6edc4b01 100644 (file)
@@ -15,7 +15,7 @@ LINK= link
 #
 COMMON_CFLAGS=\
        $(STANDARD_CFLAGS) \
-       /I. /I.. /I../wiretap $(GLIB_CFLAGS) \
+       /I. /I.. $(GLIB_CFLAGS) \
        $(ZLIB_CFLAGS) $(C_ARES_CFLAGS) $(ADNS_CFLAGS) \
        $(LUA_CFLAGS) $(GNUTLS_CFLAGS) /I$(PCAP_DIR)\include \
        $(SMI_CFLAGS) $(GEOIP_CFLAGS)
index 08ea26e641b950111a7fa2b8abd19a60bb1edee3..432b85d8044a44a6d5b08fa9d2a0e54daa597c59 100644 (file)
@@ -23,8 +23,6 @@ include ../Makefile.am.inc
 
 ACLOCAL_AMFLAGS = `../aclocal-flags`
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap
-
 extcap_PROGRAMS = \
        @androiddump_bin@       \
        @randpktdump_bin@       \
index 7845326ec6cb790c17a979bee13f05e230306de6..511b139b712acc9981ea61864b8ae23ddc35fdf5 100644 (file)
@@ -17,7 +17,7 @@ LDFLAGS = /NOLOGO /INCREMENTAL:NO $(LOCAL_LDFLAGS)
 # We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
-       /I. /I.. /Iwiretap $(GLIB_CFLAGS) \
+       /I. /I.. $(GLIB_CFLAGS) \
        $(ZLIB_CFLAGS) /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
        $(C_ARES_CFLAGS) $(ADNS_CFLAGS) $(GNUTLS_CFLAGS) \
        $(SMI_CFLAGS) $(GEOIP_CFLAGS) $(LIBSSH_CFLAGS) $(WINSPARKLE_CFLAGS)
index 89c8ab68f043a36eab654ecddfb4d7f06d9b82a2..311653ce1a6e18e8b6e2a24111dc989e002f5b5a 100644 (file)
@@ -31,7 +31,7 @@
 #include "frame_tvbuff.h"
 #include "globals.h"
 
-#include "wtap-int.h" /* for ->random_fh */
+#include "wiretap/wtap-int.h" /* for ->random_fh */
 
 struct tvb_frame {
        struct tvbuff tvb;
index 5f35912bdbb1dc18dc3d2ea68a19056b360af614..07607ebc947d39f0ac941ec787381456b3184981 100644 (file)
@@ -22,9 +22,6 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
-       $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
-
 noinst_LIBRARIES = librandpkt_core.a
 
 CLEANFILES = \
index 5ab93cff9d6176fcb973c412cb91a9154c117bb1..708d4f068fd4b432256347079ee617671574f0f2 100644 (file)
@@ -11,7 +11,7 @@ include ..\Makefile.nmake.inc
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I.. /I../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
index 80904eb5a2968b7cecc93440439575aeb7607a7c..4b409209fd93ec8dd857b695a212bb7612ebb940 100644 (file)
@@ -23,8 +23,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
-       $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
 
 noinst_LIBRARIES = libui.a libui_dirty.a
 
index e6ec01e5ea76223e8842c6b817c2b85312723c5f..55fe06d036f861d4eb10f7636d74d42c0552afdb 100644 (file)
@@ -11,7 +11,7 @@ include ..\Makefile.nmake.inc
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I.. /I../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
index 0ad3b8e757e37e2d8850e6d172d6a18291727ba3..3242543d41f95f29c7e33c32a685e732c29b8df1 100644 (file)
@@ -22,8 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \
-       $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
 
 noinst_LIBRARIES = libcliui.a
 
index 09c7414e33f7661db844fa9fe029438dcda4d571..f7e9a89b373c3c4c2a8b3435b3a5c1b82a65542b 100644 (file)
@@ -11,7 +11,7 @@ include ..\..\Makefile.nmake.inc
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I../.. /I../../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I../.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \
index 4a2b8121b29ca1e9d1ff84554dae35b02302fc0a..4abaa5402b3c8cbac83e166bfddc94ccd8ad35c2 100644 (file)
@@ -22,7 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS += $(PORTAUDIO_INCLUDES)
 
 CLEANFILES = \
        libgtkui.a                              \
index fee391f428add0af9211fe04b8bcb7f19ba08d01..024e14f1923212cee09aa6019e2ea6996c2c2658 100644 (file)
@@ -11,7 +11,7 @@ include ..\..\Makefile.nmake.inc
 GENERATED_CFLAGS=\
        $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I../.. /I../../wiretap $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I../.. $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
        $(ZLIB_CFLAGS) /I$(PCAP_DIR)\WPCAP\LIBPCAP \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
index 9c0ad967421466546f9c769f081300ec89689676..a52a9aee978a107da356d218f85655c4b5cfc7ad 100644 (file)
@@ -40,8 +40,8 @@
 #include <epan/wslua/init_wslua.h>
 #endif
 
-#include "../log.h"
-#include "../register.h"
+#include "../../log.h"
+#include "../../register.h"
 
 #include "ui/last_open_dir.h"
 
index abb3fd00aed10613366490bbef9fad30b9bc4a4c..a1e375b475ecbdf1e19d7d7dd039d6c26da3b784 100644 (file)
@@ -39,7 +39,7 @@
 #include "ui/capture.h"
 #include "caputils/capture_ifinfo.h"
 #include "caputils/capture-pcap-util.h"
-#include "../ringbuffer.h"
+#include "../../ringbuffer.h"
 
 #include "ui/capture_ui_utils.h"
 #include "ui/capture_globals.h"
index 53ec896e0b255775779dc3494a5fbff466fc06c5..c78da6595fcb684a0b75a4434c1caa6bd38ceeed 100644 (file)
@@ -31,7 +31,7 @@
 #include <epan/prefs.h>
 #include <epan/to_str.h>
 
-#include "../capture_opts.h"
+#include "../../capture_opts.h"
 #include <capchild/capture_session.h>
 #include "caputils/capture_ifinfo.h"
 #include "ui/capture.h"
index d78eee51bf8c33b7c703b0a4b0d830ab5409c284..403a1e900b4b6be5eceb67025e4b2c73619b9155 100644 (file)
@@ -32,7 +32,7 @@
 #include <epan/capture_dissectors.h>
 
 #include "ui/capture.h"
-#include "../capture_info.h"
+#include "../../capture_info.h"
 
 #include "ui/capture_ui_utils.h"
 
index e1cae02d791c859492ff364054486bd7e11e690e..8f0d390c3ef8074be55bd2c3e31b49bf4e2f93db 100644 (file)
@@ -27,7 +27,7 @@
 #include <gtk/gtk.h>
 
 
-#include "../file.h"
+#include "../../file.h"
 #ifdef HAVE_LIBPCAP
 #include "ui/capture.h"
 #endif
index 0dec7a0254256e7ddb72cb8580542eb4f6acea38..1bc5be7b322d5d1c8bbeeb2dd97999bb04d1fd26 100644 (file)
@@ -25,7 +25,7 @@
 #include <gtk/gtk.h>
 
 #include "globals.h"
-#include "pcap-encap.h"
+#include <wiretap/pcap-encap.h>
 
 #include <epan/exported_pdu.h>
 
index 958d12e22150d1c2ad78bd422efa135a2a865662..86248d73fa054c275c8303bd99f4c25311598dd3 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 
 #include "globals.h"
-#include "pcap-encap.h"
+#include "wiretap/pcap-encap.h"
 
 #include "ui/simple_dialog.h"
 #include "ui/alert_box.h"
index 44407865eb4650f9a576c6bb2c251942f34307d2..fb0aadba18580c6aa731e83361bb86f46648d972 100644 (file)
@@ -29,7 +29,7 @@
 #include <wsutil/filesystem.h>
 #include <wsutil/str_util.h>
 
-#include "../fileset.h"
+#include "../../fileset.h"
 
 #include "ui/gtk/gui_utils.h"
 #include "ui/gtk/dlg_utils.h"
index 7b85f07f7e1baf281cd7308f2d926658eed05316..3b3962f533567e3c4432d2dceca90acfbedb3833 100644 (file)
@@ -29,7 +29,7 @@
 #include <epan/strutil.h>
 #include <epan/prefs.h>
 
-#include "../globals.h"
+#include "../../globals.h"
 #include "ui/main_statusbar.h"
 
 #include "ui/gtk/old-gtk-compat.h"
index 4948efa4d9b7f2465067e8a15f0ebcc4cf06ca86..4f246d9b774c9facb7a442c3df1442cbeaebea85 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 
 
-#include "../globals.h"
+#include "../../globals.h"
 #include "ui/simple_dialog.h"
 
 #include "ui/gtk/goto_dlg.h"
index 5ceaf00255bcb40949130adb00cf1935dd4d9390..5e0d8677a7c4dfff565a85a5a88896a3ad4408fe 100644 (file)
 #include <wsutil/plugins.h>
 
 /* general (not GTK specific) */
-#include "../file.h"
-#include "../frame_tvbuff.h"
-#include "../summary.h"
+#include "../../file.h"
+#include "../../frame_tvbuff.h"
+#include "../../summary.h"
 #include <epan/color_filters.h>
-#include "../register.h"
-#include "../ringbuffer.h"
-#include "../log.h"
+#include "../../register.h"
+#include "../../ringbuffer.h"
+#include "../../log.h"
 
 #include "gtk_iface_monitor.h"
 
index afaec60d429d1959c3d99346f8c489f3232c9e3f..1e5d2ea56f509634b612f347e54b6029a793cfff 100644 (file)
 #include <epan/expert.h>
 #include <epan/prefs.h>
 
-#include "../cfile.h"
-#include "../file.h"
+#include "../../cfile.h"
+#include "../../file.h"
 #ifdef HAVE_LIBPCAP
-#include "../capture_opts.h"
+#include "../../capture_opts.h"
 #include <capchild/capture_session.h>
 #include "ui/capture.h"
 #endif
index d5d1d161a52ea7d45b44240a8f264dc3349d6afb..21ce49134f041d41e02caf891db1ade6fa51c311 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <epan/prefs.h>
 
-#include "../cfile.h"
+#include "../../cfile.h"
 
 #include <gtk/gtk.h>
 
index a36673ce97b4cbb0b517a41a5983e8adbab3cd52..6d8d535ec612902eb179ddb01a25547b6b30a5e1 100644 (file)
@@ -37,7 +37,7 @@
 
 #include <epan/addr_resolv.h>
 
-#include "../globals.h"
+#include "../../globals.h"
 #include <epan/stat_groups.h>
 #include "ui/simple_dialog.h"
 
index a50475053a2ba515ec6c237c573d1c2059954d54..179988b901b749ee68b5ff4eb6f59a36e15d104a 100644 (file)
@@ -50,8 +50,8 @@
 #include <epan/tvbuff-int.h>
 #include <epan/print.h>
 
-#include "../file.h"
-#include "../summary.h"
+#include "../../file.h"
+#include "../../summary.h"
 
 #include "ui/recent.h"
 #include "ui/simple_dialog.h"
index 79cafd4b0a7fc7cefbc84b14372cc3f875db7d91..8632febc3471e048373c7897b33eec7f5d81fa79 100644 (file)
@@ -34,7 +34,7 @@
 
 #include <gtk/gtk.h>
 
-#include "../file.h"
+#include "../../file.h"
 
 
 #include "ui/gtk/proto_help.h"
index 56cb90dc8c0db13448e72f2b4cf116e95678297a..0c9438ba84c442bde88e7746d6626677c753cce0 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <gtk/gtk.h>
 
-#include "../globals.h"
+#include "../../globals.h"
 #include "ui/simple_dialog.h"
 
 #include "ui/gtk/gui_utils.h"
index 4d8ae5128039f960ea613ebeff576778b68ed039..b3590c91e3008b8dfa866a7d248f8e3f9dd86974 100644 (file)
@@ -39,8 +39,8 @@
 #include <epan/dissectors/packet-rlc-lte.h>
 #include <epan/tap.h>
 
-#include "../globals.h"
-#include "../frame_tvbuff.h"
+#include "../../globals.h"
+#include "../../frame_tvbuff.h"
 #include "ui/simple_dialog.h"
 #include <epan/stat_groups.h>
 
index e87549ea4399236223de6225d32a07eca6517e9f..3b55f95e443105f3247d3604e64036f3f513f984 100644 (file)
@@ -32,7 +32,7 @@
 #include <epan/addr_resolv.h>
 #include "wsutil/filesystem.h"
 
-#include "../globals.h"
+#include "../../globals.h"
 #include <epan/stat_groups.h>
 
 #include "ui/last_open_dir.h"
index 122e6aa0a172ffd096a9df8e221b401fd80bedde..84d8f9a1e4d9f9adf2c97a5267570f2999376fa6 100644 (file)
@@ -30,8 +30,8 @@
 
 #include <wsutil/ws_version_info.h>
 
-#include "../file.h"
-#include "../summary.h"
+#include "../../file.h"
+#include "../../summary.h"
 
 #ifdef HAVE_LIBPCAP
 #include "ui/capture.h"
index 6fd5b79756e7bddca331b65c319e4581b302b67e..d1eda40d529f638453937cedf88da58432f0a3c8 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <epan/prefs.h>
 
-#include "../globals.h"
+#include "../../globals.h"
 
 #include "ui/gtk/supported_protos_dlg.h"
 #include "ui/gtk/gui_utils.h"
index 5818c2697178a2a762022f8b201bad88a69fe14d..4fd0be60ae5a92d85212be8d5e098ff9331913a7 100644 (file)
@@ -28,7 +28,7 @@
 #include <gtk/gtk.h>
 
 
-#include "../globals.h"
+#include "../../globals.h"
 #include <epan/stat_groups.h>
 
 #include "ui/gtk/old-gtk-compat.h"
index 58d0adae3b652659a697583b12e048938b6b9628..d969a2007f1c9eeb3055e4d016f5dbd5286c6240 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <wsutil/str_util.h>
 
-#include "../globals.h"
+#include "../../globals.h"
 
 #include "ui/voip_calls.h"
 
index b8a0ecf7dc3b51873c4c123408285a1fa89197f4..f276a9663f5bbba83a1f9ef82a90fda683590f45 100644 (file)
@@ -22,7 +22,7 @@
 include Makefile.common
 include $(top_srcdir)/Makefile.am.inc
 
-AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS)
+AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS)
 
 noinst_LIBRARIES = libqtui.a
 
index 68023b565c7336491aa8f49d57b57bf5c7aec109..cc6b97cb40cb05dc7f76a97795a05e4cec022aac 100644 (file)
@@ -175,7 +175,7 @@ win32 {
 #tap_register.CONFIG += no_link
 QMAKE_EXTRA_COMPILERS += tap_register
 
-INCLUDEPATH += ../.. ../../wiretap
+INCLUDEPATH += ../..
 win32:INCLUDEPATH += \
     $${WIRESHARK_LIB_DIR}/gtk2/include/glib-2.0 $${WIRESHARK_LIB_DIR}/gtk2/lib/glib-2.0/include \
     $${WIRESHARK_LIB_DIR}/gtk3/include/glib-2.0 $${WIRESHARK_LIB_DIR}/gtk3/lib/glib-2.0/include \
index 19510ce16cc132cedb1455e360eba2206e8b86cc..5e9258b9df66d63679a725b6afe4657c8bd28608 100644 (file)
@@ -37,8 +37,8 @@
 #include <epan/wslua/init_wslua.h>
 #endif
 
-#include "../log.h"
-#include "../register.h"
+#include "../../log.h"
+#include "../../register.h"
 
 #include "ui/alert_box.h"
 #include "ui/last_open_dir.h"
index 2aeeb8ea60dfa40c0979df83c1b77c94b8e1ef62..d1f9c30120f8c4cdfe5df36b8272b24612d10c74 100644 (file)
@@ -26,7 +26,7 @@
 #include <ui_export_pdu_dialog.h>
 
 #include "globals.h"
-#include "pcap-encap.h"
+#include <wiretap/pcap-encap.h>
 
 #include <epan/tap.h>
 #include <epan/exported_pdu.h>
index 1fc6401703c4ea8cd5a9189a02bca81cb691dd65..a7b92788defd00c79c431701b449561295f41bac 100644 (file)
@@ -24,7 +24,7 @@
 
 
 #include "globals.h"
-#include "pcap-encap.h"
+#include "wiretap/pcap-encap.h"
 #include "wsutil/tempfile.h"
 #include "wsutil/os_version_info.h"
 #include "wsutil/ws_version_info.h"
index 0f908e5bdfe2378de29dc0fee9f4d937355213fd..136d7efea03ad6aa1c7e0e8921f86513ecab0dd9 100644 (file)
@@ -9,7 +9,7 @@ include ..\..\Makefile.nmake.inc
 
 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
        /Zm800 \
-       /I../.. /I../../wiretap $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
+       /I../.. $(GTK_CFLAGS) $(GNUTLS_CFLAGS) \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
        /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
        /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS)
index 545c1f640683d6d9a43cb57570e3dffe2cefcc32..43f68907b93f8d71d47a9927f60d895b0293e88b 100644 (file)
@@ -22,7 +22,7 @@
 #define __W_LIBPCAP_H__
 
 #include <glib.h>
-#include <wtap.h>
+#include <wiretap/wtap.h>
 #include "ws_symbol_export.h"
 
 /* Magic numbers in "libpcap" files.