From: Pali Rohár <pali.ro...@gmail.com>

This fixes linking this test with UCRT.

Signed-off-by: Martin Storsjö <mar...@martin.st>
---
 mingw-w64-crt/testcases/tstmain_sys_xxx.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mingw-w64-crt/testcases/tstmain_sys_xxx.c 
b/mingw-w64-crt/testcases/tstmain_sys_xxx.c
index 9af48233e..42d2d48fe 100644
--- a/mingw-w64-crt/testcases/tstmain_sys_xxx.c
+++ b/mingw-w64-crt/testcases/tstmain_sys_xxx.c
@@ -4,8 +4,7 @@
  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  */
 #include <stdio.h>
-
-_CRTIMP char *_sys_errlist[];
+#include <stdlib.h>
 
 int main(int argc, char **argv)
 {
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to