summaryrefslogtreecommitdiff
path: root/package/vsftpd/patches/patch-sysdeputil_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/vsftpd/patches/patch-sysdeputil_c')
-rw-r--r--package/vsftpd/patches/patch-sysdeputil_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/vsftpd/patches/patch-sysdeputil_c b/package/vsftpd/patches/patch-sysdeputil_c
new file mode 100644
index 000000000..693d90b63
--- /dev/null
+++ b/package/vsftpd/patches/patch-sysdeputil_c
@@ -0,0 +1,13 @@
+--- vsftpd-3.0.2.orig/sysdeputil.c 2012-09-16 06:18:04.000000000 +0200
++++ vsftpd-3.0.2/sysdeputil.c 2014-02-11 14:21:18.000000000 +0100
+@@ -81,6 +81,10 @@
+ #include <linux/unistd.h>
+ #include <errno.h>
+ #include <syscall.h>
++/* for musl */
++#if !defined(__GLIBC__)
++#define WTMPX_FILE "/dev/null"
++#endif
+ #endif
+
+ #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__)