summaryrefslogtreecommitdiffstats
path: root/vsftpd/09-s390.patch
blob: 4711f9bc68446b2488278a207c30df5ddc182f10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Philipp Kern <pkern@debian.org>
Description: Fix vsftpd on s390 (Closes: #602726).

diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c
--- vsftpd.orig/sysdeputil.c	2011-09-05 16:03:18.728857644 +0200
+++ vsftpd/sysdeputil.c	2011-09-05 16:05:12.909423834 +0200
@@ -64,7 +64,7 @@
 #include <utmpx.h>
 
 /* BEGIN config */
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__s390__)
   #include <errno.h>
   #include <syscall.h>
   #define VSF_SYSDEP_HAVE_LINUX_CLONE