raven-rhel6/openssh/openssh-8.7p1-ibmca.patch

12 lines
407 B
Diff
Raw Normal View History

2024-02-21 20:14:44 +06:00
--- openssh-8.7p1/openbsd-compat/bsd-closefrom.c.orig 2022-04-12 15:47:03.815044607 +0200
+++ openssh-8.7p1/openbsd-compat/bsd-closefrom.c 2022-04-12 15:48:12.464963511 +0200
@@ -16,7 +16,7 @@
#include "includes.h"
2024-02-28 17:40:12 +06:00
-#if !defined(HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM)
+#if !defined(HAVE_CLOSEFROM) || defined(BROKEN_CLOSEFROM) || (defined __s390__)
2024-02-21 20:14:44 +06:00
#include <sys/types.h>
2024-02-28 17:40:12 +06:00
#include <unistd.h>