aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-14 19:03:11 +0000
committerJoão Valverde <j@v6e.pt>2016-04-04 23:05:31 +0000
commitecb4dc396ef71feb67aeda7603e09b0cea0bc920 (patch)
tree18c03d5662172f826f9797f56b8ff177c326c526
parentbe96c3d64c9d5838e7319d5dd4a2ecd45897a024 (diff)
Include ws_diag_control.h in config.h
Change-Id: Ia394071710ecda3b0e6686a51fbca45a8ff20317 Reviewed-on: https://code.wireshark.org/review/14749 Petri-Dish: João Valverde <j@v6e.pt> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
-rw-r--r--capinfos.c1
-rw-r--r--captype.c1
-rw-r--r--caputils/iface_monitor.c4
-rw-r--r--caputils/ws80211_utils.c3
-rw-r--r--cmakeconfig.h.in2
-rw-r--r--codecs/speex/resample.c4
-rw-r--r--config.h.win322
-rw-r--r--configure.ac2
-rw-r--r--debian/libwsutil-dev.install1
-rw-r--r--dumpcap.c1
-rw-r--r--editcap.c1
-rw-r--r--epan/dissectors/asn1/kerberos/packet-kerberos-template.c3
-rw-r--r--epan/dissectors/packet-asterix.c5
-rw-r--r--epan/dissectors/packet-kerberos.c15
-rw-r--r--epan/exntest.c5
-rw-r--r--epan/frame_data.h4
-rw-r--r--epan/tap.c4
-rw-r--r--mergecap.c1
-rw-r--r--plugins/ethercat/packet-ecatmb.h2
-rw-r--r--plugins/ethercat/packet-ethercat-frame.h2
-rw-r--r--randpkt.c3
-rw-r--r--rawshark.c1
-rw-r--r--reordercap.c1
-rw-r--r--text2pcap.c1
-rw-r--r--tfshark.c1
-rw-r--r--tshark.c1
-rw-r--r--ui/gtk/main.c3
-rw-r--r--ui/qt/tango_colors.h2
-rw-r--r--wireshark-qt.cpp1
-rw-r--r--wiretap/file_wrappers.c3
-rw-r--r--wiretap/wtap.c3
-rw-r--r--ws_diag_control.h (renamed from wsutil/ws_diag_control.h)0
-rw-r--r--wsutil/filesystem.c3
-rw-r--r--wsutil/inet_ntop.c4
-rw-r--r--wsutil/inet_pton.c4
-rw-r--r--wsutil/str_util.c3
-rw-r--r--wsutil/wsgcrypt.h2
37 files changed, 38 insertions, 61 deletions
diff --git a/capinfos.c b/capinfos.c
index 2476a62a18..b43f3083b0 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -74,7 +74,6 @@
#include <wsutil/crash_info.h>
#include <wsutil/filesystem.h>
#include <wsutil/privileges.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>
diff --git a/captype.c b/captype.c
index f41f0a22a3..50f1823f95 100644
--- a/captype.c
+++ b/captype.c
@@ -44,7 +44,6 @@
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include <wsutil/privileges.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#ifdef HAVE_PLUGINS
diff --git a/caputils/iface_monitor.c b/caputils/iface_monitor.c
index dcadf0b49f..3d7c251e92 100644
--- a/caputils/iface_monitor.c
+++ b/caputils/iface_monitor.c
@@ -19,8 +19,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
-#include "wsutil/ws_diag_control.h"
+
+#include <config.h>
#ifdef HAVE_LIBPCAP
diff --git a/caputils/ws80211_utils.c b/caputils/ws80211_utils.c
index c556773a1d..a8f23a7198 100644
--- a/caputils/ws80211_utils.c
+++ b/caputils/ws80211_utils.c
@@ -22,7 +22,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
@@ -30,7 +30,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <glib/gstdio.h>
#include "ws80211_utils.h"
-#include "wsutil/ws_diag_control.h"
#if defined(HAVE_LIBNL) && defined(HAVE_NL80211)
#include <string.h>
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 4312d3f1b8..a3cddcc8bd 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -473,3 +473,5 @@
# define NEED_STRPTIME_H 1
#endif
+
+#include <ws_diag_control.h>
diff --git a/codecs/speex/resample.c b/codecs/speex/resample.c
index 148565d028..e2489b5fd7 100644
--- a/codecs/speex/resample.c
+++ b/codecs/speex/resample.c
@@ -57,9 +57,7 @@
The latter both reduces CPU time and makes the algorithm more SIMD-friendly.
*/
-#include "config.h"
-
-#include "wsutil/ws_diag_control.h"
+#include <config.h>
#define OUTSIDE_SPEEX 1
#define FLOATING_POINT 1
diff --git a/config.h.win32 b/config.h.win32
index 2418850d05..f1be3dfaa4 100644
--- a/config.h.win32
+++ b/config.h.win32
@@ -260,3 +260,5 @@ typedef int ssize_t;
/* to use define _ws_mempbrk_sse42 if available (checked with cpuinfo) */
#define HAVE_SSE4_2 1
+
+#include <ws_diag_control.h>
diff --git a/configure.ac b/configure.ac
index 34fc4a52bf..e71495f91e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3084,6 +3084,8 @@ AC_SUBST(WS_LDFLAGS)
AC_SUBST(WS_CFLAGS_FOR_BUILD)
+AH_BOTTOM([#include <ws_diag_control.h>])
+
dnl Save the cacheable configure results to config.cache before recursing
AC_CACHE_SAVE
diff --git a/debian/libwsutil-dev.install b/debian/libwsutil-dev.install
index ce044d3db4..7f9646cd8e 100644
--- a/debian/libwsutil-dev.install
+++ b/debian/libwsutil-dev.install
@@ -1,3 +1,4 @@
usr/lib/*/libwsutil.so
ws_symbol_export.h usr/include/wireshark
+ws_diag_control.h usr/include/wireshark
wsutil/*.h usr/include/wireshark/wsutil
diff --git a/dumpcap.c b/dumpcap.c
index 2d2d4d61a9..c99ee45a42 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -56,7 +56,6 @@
#include <wsutil/cmdarg_err.h>
#include <wsutil/crash_info.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#ifndef HAVE_GETOPT_LONG
diff --git a/editcap.c b/editcap.c
index 4927e4ecaf..ea9a1656e4 100644
--- a/editcap.c
+++ b/editcap.c
@@ -83,7 +83,6 @@
#include <wsutil/report_err.h>
#include <wsutil/strnatcmp.h>
#include <wsutil/str_util.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wsutil/pint.h>
#include <wiretap/wtap_opttypes.h>
diff --git a/epan/dissectors/asn1/kerberos/packet-kerberos-template.c b/epan/dissectors/asn1/kerberos/packet-kerberos-template.c
index 54b506485c..b97a1003c0 100644
--- a/epan/dissectors/asn1/kerberos/packet-kerberos-template.c
+++ b/epan/dissectors/asn1/kerberos/packet-kerberos-template.c
@@ -52,7 +52,7 @@
* information.
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
@@ -64,7 +64,6 @@
#include <epan/expert.h>
#include <epan/prefs.h>
#include <wsutil/file_util.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/str_util.h>
#include "packet-kerberos.h"
#include "packet-netbios.h"
diff --git a/epan/dissectors/packet-asterix.c b/epan/dissectors/packet-asterix.c
index 76a12aa480..24443e6423 100644
--- a/epan/dissectors/packet-asterix.c
+++ b/epan/dissectors/packet-asterix.c
@@ -21,14 +21,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
-
+#include <config.h>
#include <epan/packet.h>
#include <epan/prefs.h>
-#include <wsutil/ws_diag_control.h>
-
void proto_register_asterix(void);
void proto_reg_handoff_asterix(void);
diff --git a/epan/dissectors/packet-kerberos.c b/epan/dissectors/packet-kerberos.c
index cb5c33ff53..02224e8e59 100644
--- a/epan/dissectors/packet-kerberos.c
+++ b/epan/dissectors/packet-kerberos.c
@@ -60,7 +60,7 @@
* information.
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
@@ -72,7 +72,6 @@
#include <epan/expert.h>
#include <epan/prefs.h>
#include <wsutil/file_util.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/str_util.h>
#include "packet-kerberos.h"
#include "packet-netbios.h"
@@ -350,7 +349,7 @@ static int hf_kerberos_KDCOptions_renew = -1;
static int hf_kerberos_KDCOptions_validate = -1;
/*--- End of included file: packet-kerberos-hf.c ---*/
-#line 173 "./asn1/kerberos/packet-kerberos-template.c"
+#line 172 "./asn1/kerberos/packet-kerberos-template.c"
/* Initialize the subtree pointers */
static gint ett_kerberos = -1;
@@ -426,7 +425,7 @@ static gint ett_kerberos_KERB_PA_PAC_REQUEST = -1;
static gint ett_kerberos_ChangePasswdData = -1;
/*--- End of included file: packet-kerberos-ett.c ---*/
-#line 187 "./asn1/kerberos/packet-kerberos-template.c"
+#line 186 "./asn1/kerberos/packet-kerberos-template.c"
static expert_field ei_kerberos_decrypted_keytype = EI_INIT;
static expert_field ei_kerberos_address = EI_INIT;
@@ -455,7 +454,7 @@ static gboolean gbl_do_col_info;
#define KERBEROS_ADDR_TYPE_IPV6 24
/*--- End of included file: packet-kerberos-val.h ---*/
-#line 200 "./asn1/kerberos/packet-kerberos-template.c"
+#line 199 "./asn1/kerberos/packet-kerberos-template.c"
static void
call_kerberos_callbacks(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int tag, kerberos_callbacks *cb)
@@ -4342,7 +4341,7 @@ dissect_kerberos_ChangePasswdData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
/*--- End of included file: packet-kerberos-fn.c ---*/
-#line 1986 "./asn1/kerberos/packet-kerberos-template.c"
+#line 1985 "./asn1/kerberos/packet-kerberos-template.c"
/* Make wrappers around exported functions for now */
int
@@ -5396,7 +5395,7 @@ void proto_register_kerberos(void) {
NULL, HFILL }},
/*--- End of included file: packet-kerberos-hfarr.c ---*/
-#line 2367 "./asn1/kerberos/packet-kerberos-template.c"
+#line 2366 "./asn1/kerberos/packet-kerberos-template.c"
};
/* List of subtrees */
@@ -5474,7 +5473,7 @@ void proto_register_kerberos(void) {
&ett_kerberos_ChangePasswdData,
/*--- End of included file: packet-kerberos-ettarr.c ---*/
-#line 2383 "./asn1/kerberos/packet-kerberos-template.c"
+#line 2382 "./asn1/kerberos/packet-kerberos-template.c"
};
static ei_register_info ei[] = {
diff --git a/epan/exntest.c b/epan/exntest.c
index ff9c88ec14..92eac68f5a 100644
--- a/epan/exntest.c
+++ b/epan/exntest.c
@@ -18,13 +18,12 @@
*
*/
+#include <config.h>
+
#include <stdio.h>
#include <glib.h>
-#include <config.h>
#include "exceptions.h"
-#include <wsutil/ws_diag_control.h>
-
gboolean failed = FALSE;
DIAG_OFF(shadow)
diff --git a/epan/frame_data.h b/epan/frame_data.h
index a282c882fb..dd443ca38d 100644
--- a/epan/frame_data.h
+++ b/epan/frame_data.h
@@ -27,9 +27,9 @@
extern "C" {
#endif /* __cplusplus */
+#include <ws_diag_control.h>
+#include <ws_symbol_export.h>
#include <wsutil/nstime.h>
-#include <wsutil/ws_diag_control.h>
-#include "ws_symbol_export.h"
struct _packet_info;
struct epan_session;
diff --git a/epan/tap.c b/epan/tap.c
index 16db81d619..1348e375dd 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
@@ -40,8 +40,6 @@
#include <epan/dfilter/dfilter.h>
#include <epan/tap.h>
-#include <wsutil/ws_diag_control.h>
-
static gboolean tapping_is_active=FALSE;
typedef struct _tap_dissector_t {
diff --git a/mergecap.c b/mergecap.c
index 3e93ea592a..76edfa4f63 100644
--- a/mergecap.c
+++ b/mergecap.c
@@ -49,7 +49,6 @@
#include <wsutil/file_util.h>
#include <wsutil/privileges.h>
#include <wsutil/strnatcmp.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#ifdef HAVE_PLUGINS
diff --git a/plugins/ethercat/packet-ecatmb.h b/plugins/ethercat/packet-ecatmb.h
index 6143c01dce..1e58f3a815 100644
--- a/plugins/ethercat/packet-ecatmb.h
+++ b/plugins/ethercat/packet-ecatmb.h
@@ -23,7 +23,7 @@
#ifndef _PACKET_ECATMAILBOX_H_
#define _PACKET_ECATMAILBOX_H_
-#include <wsutil/ws_diag_control.h>
+#include <ws_diag_control.h>
DIAG_OFF(pedantic)
/* Ensure the same data layout for all platforms */
diff --git a/plugins/ethercat/packet-ethercat-frame.h b/plugins/ethercat/packet-ethercat-frame.h
index 885592022e..087219f294 100644
--- a/plugins/ethercat/packet-ethercat-frame.h
+++ b/plugins/ethercat/packet-ethercat-frame.h
@@ -23,7 +23,7 @@
#ifndef _PACKET_ETHERCAT_FRAME_H
#define _PACKET_ETHERCAT_FRAME_H
-#include <wsutil/ws_diag_control.h>
+#include <ws_diag_control.h>
/* structure for decoding the header -----------------------------------------*/
DIAG_OFF(pedantic)
diff --git a/randpkt.c b/randpkt.c
index 162e692e66..28a7c69d1c 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -21,11 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <config.h>
+
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/unicode-utils.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
diff --git a/rawshark.c b/rawshark.c
index df5a622e3b..c771698309 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -61,7 +61,6 @@
#include <wsutil/plugins.h>
#include <wsutil/privileges.h>
#include <wsutil/report_err.h>
-#include <wsutil/ws_diag_control.h>
#include "globals.h"
#include <epan/packet.h>
diff --git a/reordercap.c b/reordercap.c
index 983e13c283..1627024a56 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -42,7 +42,6 @@
#include <wsutil/filesystem.h>
#include <wsutil/file_util.h>
#include <wsutil/privileges.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wiretap/wtap_opttypes.h>
diff --git a/text2pcap.c b/text2pcap.c
index fc6b7d4e6b..65f4a8526e 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -112,7 +112,6 @@
#include <string.h>
#include <wsutil/file_util.h>
#include <wsutil/crash_info.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wsutil/inet_addr.h>
diff --git a/tfshark.c b/tfshark.c
index 595917cf8a..3f0073eae6 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -52,7 +52,6 @@
#include <wsutil/file_util.h>
#include <wsutil/privileges.h>
#include <wsutil/report_err.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include "globals.h"
diff --git a/tshark.c b/tshark.c
index 3a2949390d..408c3be0a6 100644
--- a/tshark.c
+++ b/tshark.c
@@ -61,7 +61,6 @@
#include <wsutil/file_util.h>
#include <wsutil/privileges.h>
#include <wsutil/report_err.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 15f713ccb1..2c1c564b56 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -24,7 +24,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
+#include <config.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -59,7 +59,6 @@
#include <wsutil/file_util.h>
#include <wsutil/privileges.h>
#include <wsutil/report_err.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <wiretap/merge.h>
diff --git a/ui/qt/tango_colors.h b/ui/qt/tango_colors.h
index 8b2a34be6b..e9b91f0e58 100644
--- a/ui/qt/tango_colors.h
+++ b/ui/qt/tango_colors.h
@@ -23,7 +23,7 @@
#ifndef __TANGO_COLORS_H__
#define __TANGO_COLORS_H__
-#include <wsutil/ws_diag_control.h>
+#include <ws_diag_control.h>
// http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
// with added hues from http://emilis.info/other/extended_tango/
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 7ba61381e7..9b45ec6371 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -45,7 +45,6 @@
#endif
#include <wsutil/report_err.h>
#include <wsutil/unicode-utils.h>
-#include <wsutil/ws_diag_control.h>
#include <wsutil/ws_version_info.h>
#include <epan/addr_resolv.h>
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c
index 00df01939f..fa4b21c961 100644
--- a/wiretap/file_wrappers.c
+++ b/wiretap/file_wrappers.c
@@ -39,13 +39,12 @@
* 3. This notice may not be removed or altered from any source distribution.
*/
-#include "config.h"
+#include <config.h>
#include <errno.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"
-#include <wsutil/ws_diag_control.h>
#include <wsutil/file_util.h>
#ifdef HAVE_ZLIB
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 7ab03537ab..30f4123fe0 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <errno.h>
@@ -34,7 +34,6 @@
#include "file_wrappers.h"
#include <wsutil/file_util.h>
#include <wsutil/buffer.h>
-#include <wsutil/ws_diag_control.h>
#ifdef HAVE_PLUGINS
diff --git a/wsutil/ws_diag_control.h b/ws_diag_control.h
index cc0e9eec25..cc0e9eec25 100644
--- a/wsutil/ws_diag_control.h
+++ b/ws_diag_control.h
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index 2a68a9949d..b58654f664 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
+#include <config.h>
/*
* Required with GNU libc to get dladdr().
@@ -62,7 +62,6 @@
#include <wsutil/report_err.h>
#include <wsutil/privileges.h>
#include <wsutil/file_util.h>
-#include <wsutil/ws_diag_control.h>
#include <wiretap/wtap.h> /* for WTAP_ERR_SHORT_WRITE */
diff --git a/wsutil/inet_ntop.c b/wsutil/inet_ntop.c
index cbb9c227dd..3fe730bcc6 100644
--- a/wsutil/inet_ntop.c
+++ b/wsutil/inet_ntop.c
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
-#include "config.h"
+#include <config.h>
#include "inet_addr-int.h"
@@ -24,8 +24,6 @@
#include <glib.h>
-#include <wsutil/ws_diag_control.h>
-
#ifndef __P
#define __P(args) args
#endif
diff --git a/wsutil/inet_pton.c b/wsutil/inet_pton.c
index 78b14fd3d6..3c2b6b4620 100644
--- a/wsutil/inet_pton.c
+++ b/wsutil/inet_pton.c
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
-#include "config.h"
+#include <config.h>
#include "inet_addr-int.h"
@@ -24,8 +24,6 @@
#include <glib.h>
-#include <wsutil/ws_diag_control.h>
-
#ifndef __P
#define __P(args) args
#endif
diff --git a/wsutil/str_util.c b/wsutil/str_util.c
index adcbb91e03..8763666f9a 100644
--- a/wsutil/str_util.c
+++ b/wsutil/str_util.c
@@ -20,10 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
+#include <config.h>
#include "str_util.h"
-#include "ws_diag_control.h"
int
ws_xton(char ch)
diff --git a/wsutil/wsgcrypt.h b/wsutil/wsgcrypt.h
index 2591b92516..a6f2844fbf 100644
--- a/wsutil/wsgcrypt.h
+++ b/wsutil/wsgcrypt.h
@@ -29,7 +29,7 @@
#ifdef HAVE_LIBGCRYPT
-#include <wsutil/ws_diag_control.h>
+#include <ws_diag_control.h>
DIAG_OFF(deprecated-declarations)