bmh10 / rpms / openssh

Forked from rpms/openssh 10 days ago
Clone
Dmitry Belyavskiy b53c53
--- openssh-8.7p1/openbsd-compat/bsd-closefrom.c.orig	2022-04-12 15:47:03.815044607 +0200
Dmitry Belyavskiy b53c53
+++ openssh-8.7p1/openbsd-compat/bsd-closefrom.c	2022-04-12 15:48:12.464963511 +0200
Dmitry Belyavskiy b53c53
@@ -16,7 +16,7 @@
Dmitry Belyavskiy b53c53
 
Dmitry Belyavskiy b53c53
 #include "includes.h"
Dmitry Belyavskiy b53c53
 
Dmitry Belyavskiy b53c53
-#ifndef HAVE_CLOSEFROM
Dmitry Belyavskiy b53c53
+#if (!defined HAVE_CLOSEFROM) || (defined __s390__)
Dmitry Belyavskiy b53c53
 
Dmitry Belyavskiy b53c53
 #include <sys/types.h>
Dmitry Belyavskiy b53c53
 #include <sys/param.h>
Dmitry Belyavskiy b53c53