From: John Paul Adrian Glaubitz <glaubitz@suse.com>
Date: Sun, 24 Mar 2024 16:22:21 +0100
Subject: Fix missing inclusion of stdio.h in {mingw,unix}/sys_socket_create.c

Fixes #6
---
 src/sys/mingw/sys_socket_create.c | 1 +
 src/sys/unix/sys_socket_create.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/sys/mingw/sys_socket_create.c b/src/sys/mingw/sys_socket_create.c
index c905e7b..b72f048 100644
--- a/src/sys/mingw/sys_socket_create.c
+++ b/src/sys/mingw/sys_socket_create.c
@@ -17,6 +17,7 @@
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include <stdio.h>
 #include <winsock2.h>
 
 #include "kc/config.h"
diff --git a/src/sys/unix/sys_socket_create.c b/src/sys/unix/sys_socket_create.c
index 005b441..2593d70 100644
--- a/src/sys/unix/sys_socket_create.c
+++ b/src/sys/unix/sys_socket_create.c
@@ -18,6 +18,7 @@
  */
 
 #include <fcntl.h>
+#include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
