Commit d59b644e3c for openssl.org
commit d59b644e3c584e9998dcf25f67c5da78a8634e19
Author: Milan Broz <gmazyland@gmail.com>
Date: Wed Apr 22 14:57:46 2026 +0200
Fix missing prototype for win32_utf8argv under MINGW64
With strict warnings build fails on missing win32_utf8argv()
function definition.
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Thu Apr 30 11:42:18 2026
(Merged from https://github.com/openssl/openssl/pull/30941)
diff --git a/apps/lib/win32_init.c b/apps/lib/win32_init.c
index e4677c6c2b..37a1f3ec22 100644
--- a/apps/lib/win32_init.c
+++ b/apps/lib/win32_init.c
@@ -10,6 +10,7 @@
#include <windows.h>
#include <stdlib.h>
#include <string.h>
+#include "platform.h"
#if defined(CP_UTF8)