summaryrefslogtreecommitdiff
path: root/package/vsftpd/patches/patch-sysdeputil_c
blob: 693d90b63dbb75e3c9200416f41441588ff1aaec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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__)