File openssh-fix-bsc1216474-part3.patch of Package openssh

Index: openssh-9.3p2/openbsd-compat/bsd-closefrom.c
===================================================================
--- openssh-9.3p2.orig/openbsd-compat/bsd-closefrom.c
+++ openssh-9.3p2/openbsd-compat/bsd-closefrom.c
@@ -16,7 +16,7 @@
 
 #include "includes.h"
 
-#if !defined(HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM)
+#if (!defined HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM) || (defined __s390__)
 
 #include <sys/types.h>
 #include <unistd.h>
openSUSE Build Service is sponsored by