006-musl-compatibility.patch 315 B

12345678910111213
  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. #define __USE_GNU
  12. #include <utmpx.h>