From 8e1a2644968ce048feecd7f480ed4cce7dec7f6b Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 14 Dec 2021 20:44:04 +0100 Subject: Fix Windows main wrapper after mingw upgrade Apparently, mingw implicitly included stdlib.h indirectly from either windows.h or shellapi.h. After an upgrade, the windows build now fails with EXIT_FAILURE being undefined. Signed-off-by: David Oberhollenzer --- lib/compat/w32_wmain.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/compat/w32_wmain.c b/lib/compat/w32_wmain.c index 4245d1c..9b3e354 100644 --- a/lib/compat/w32_wmain.c +++ b/lib/compat/w32_wmain.c @@ -8,6 +8,7 @@ #include "compat.h" #include +#include #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN -- cgit v1.2.3