9fd6981
--- openssh-8.7p1/openbsd-compat/bsd-closefrom.c.orig	2022-04-12 15:47:03.815044607 +0200
9fd6981
+++ openssh-8.7p1/openbsd-compat/bsd-closefrom.c	2022-04-12 15:48:12.464963511 +0200
9fd6981
@@ -16,7 +16,7 @@
9fd6981
 
9fd6981
 #include "includes.h"
9fd6981
 
03150f6
-#if !defined(HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM)
03150f6
+#if !defined(HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM) || (defined __s390__)
9fd6981
 
9fd6981
 #include <sys/types.h>
03150f6
 #include <unistd.h>