From 6563ceaafadf6b2f1997e5582a6bd57cc7b80a57 Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Sun, 8 Jun 2025 08:57:27 +0200 Subject: [PATCH] C bindings: Include missing wchar header in tag_c.h (#1273) In C++, wchar_t is a built-in fundamental type, but in C, it is not. Compilation with MinGW will fail without a header included which defines wchar_t (wchar.h or stddef.h). The other compilers used in our CI (gcc on Ubuntu, clang on macOS and MSVC on Windows) seem to know wchar_t without an include. --- bindings/c/tag_c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/c/tag_c.h b/bindings/c/tag_c.h index 2513f7f6..88c8d67b 100644 --- a/bindings/c/tag_c.h +++ b/bindings/c/tag_c.h @@ -43,6 +43,7 @@ extern "C" { #define TAGLIB_C_EXPORT #endif +#include #ifdef _MSC_VER /* minwindef.h contains typedef int BOOL */ #include