100-musl-compat.patch 704 B

123456789101112131415161718192021222324252627282930313233
  1. --- /dev/null
  2. +++ b/include/net/ppp_defs.h
  3. @@ -0,0 +1,10 @@
  4. +#ifndef _NET_PPP_DEFS_H
  5. +#define _NET_PPP_DEFS_H 1
  6. +
  7. +#define __need_time_t
  8. +#include <time.h>
  9. +
  10. +#include <asm/types.h>
  11. +#include <linux/ppp_defs.h>
  12. +
  13. +#endif /* net/ppp_defs.h */
  14. --- a/src/libsstp-log/sstp-log-syslog.c
  15. +++ b/src/libsstp-log/sstp-log-syslog.c
  16. @@ -32,6 +32,7 @@
  17. #include <sys/uio.h>
  18. #include <sys/un.h>
  19. #include <sys/socket.h>
  20. +#include <sys/types.h>
  21. #include <unistd.h>
  22. #include <sstp-common.h>
  23. --- a/src/libsstp-log/sstp-log-std.c
  24. +++ b/src/libsstp-log/sstp-log-std.c
  25. @@ -25,6 +25,7 @@
  26. #include <stdio.h>
  27. #include <stdint.h>
  28. #include <string.h>
  29. +#include <sys/types.h>
  30. #include <sys/uio.h>
  31. #include <unistd.h>