File 1172-kernel-Fix-os_SUITE-compilation-issue-on-win32.patch of Package erlang

From 77e2e9b890807560b3db5f1e277c7445cc5d74dd Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 15 Mar 2021 14:05:53 +0100
Subject: [PATCH 1/2] kernel: Fix os_SUITE compilation issue on win32

---
 lib/kernel/test/os_SUITE_data/my_echo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/kernel/test/os_SUITE_data/my_echo.c b/lib/kernel/test/os_SUITE_data/my_echo.c
index 712c828bb5..439f812af1 100644
--- a/lib/kernel/test/os_SUITE_data/my_echo.c
+++ b/lib/kernel/test/os_SUITE_data/my_echo.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
 #ifdef __WIN32__
 #include <windows.h>
 
@@ -25,8 +26,6 @@ int wmain(int argc, wchar_t **argv)
 }
 #else
 
-#include <stdio.h>
-
 int
 main(int argc, char** argv)
 {
-- 
2.26.2

openSUSE Build Service is sponsored by