summaryrefslogtreecommitdiff
path: root/debian/patches/s390-missing-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/s390-missing-header.patch')
-rw-r--r--debian/patches/s390-missing-header.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/s390-missing-header.patch b/debian/patches/s390-missing-header.patch
new file mode 100644
index 000000000..d83ad3075
--- /dev/null
+++ b/debian/patches/s390-missing-header.patch
@@ -0,0 +1,29 @@
1From 326d5114682d8ddbb64dead273d7738aea10e30a Mon Sep 17 00:00:00 2001
2From: Damien Miller <djm@mindrot.org>
3Date: Wed, 22 Mar 2017 12:43:02 +1100
4Subject: Missing header on Linux/s390
5
6Patch from Jakub Jelen
7
8Origin: https://anongit.mindrot.org/openssh.git/commit/?id=58b8cfa2a062b72139d7229ae8de567f55776f24
9Last-Update: 2017-04-02
10
11Patch-Name: s390-missing-header.patch
12---
13 sandbox-seccomp-filter.c | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
17index 3a1aedce..08dc3a8b 100644
18--- a/sandbox-seccomp-filter.c
19+++ b/sandbox-seccomp-filter.c
20@@ -50,6 +50,9 @@
21 #include <elf.h>
22
23 #include <asm/unistd.h>
24+#ifdef __s390__
25+#include <asm/zcrypt.h>
26+#endif
27
28 #include <errno.h>
29 #include <signal.h>