From 9f2dff98f6526412e8065a8c9ade811dcb1974fe Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 28 Feb 2018 01:27:27 -0800 Subject: Include so UNICODE is defined. All other files should do so; this file should, so that we're using the Unicode versions of Windows APIs (especially given that other files that include wsutil/unicode-utils.h will be doing so and expecting UTF-16 strings from utf_8to16_snprintf()). Change-Id: I7eccf580ab0dc504aa78b345e36e2fcda818a7c5 Reviewed-on: https://code.wireshark.org/review/26170 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- wsutil/unicode-utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wsutil') diff --git a/wsutil/unicode-utils.c b/wsutil/unicode-utils.c index 639bfcc06b..80323a53aa 100644 --- a/wsutil/unicode-utils.c +++ b/wsutil/unicode-utils.c @@ -8,6 +8,8 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#include + #include "unicode-utils.h" int -- cgit v1.2.3