You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
315 B

  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>