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