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