diff options
Diffstat (limited to 'debian/patches/s390-missing-header.patch')
-rw-r--r-- | debian/patches/s390-missing-header.patch | 29 |
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..3789d650f --- /dev/null +++ b/debian/patches/s390-missing-header.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 8f69d359e39fef44d60c12ac105ed5f398ad2599 Mon Sep 17 00:00:00 2001 | ||
2 | From: Damien Miller <djm@mindrot.org> | ||
3 | Date: Wed, 22 Mar 2017 12:43:02 +1100 | ||
4 | Subject: Missing header on Linux/s390 | ||
5 | |||
6 | Patch from Jakub Jelen | ||
7 | |||
8 | Origin: https://anongit.mindrot.org/openssh.git/commit/?id=58b8cfa2a062b72139d7229ae8de567f55776f24 | ||
9 | Last-Update: 2017-04-02 | ||
10 | |||
11 | Patch-Name: s390-missing-header.patch | ||
12 | --- | ||
13 | sandbox-seccomp-filter.c | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c | ||
17 | index 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> | ||