aboutsummaryrefslogtreecommitdiff
path: root/net/vsftpd/patches/006-musl-compatibility.patch
blob: 9eefec79d3200f77b7d34562e55507956380d57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/sysdeputil.c
+++ b/sysdeputil.c
@@ -58,7 +58,9 @@
 #define VSF_SYSDEP_HAVE_SHADOW
 #define VSF_SYSDEP_HAVE_USERSHELL
 #define VSF_SYSDEP_HAVE_LIBCAP
-#define VSF_SYSDEP_HAVE_UTMPX
+#if defined(__GLIBC__) || defined(__UCLIBC__)
+  #define VSF_SYSDEP_HAVE_UTMPX
+#endif
 
 #define __USE_GNU
 #include <utmpx.h>