1
0

001-musl_header.patch 650 B

123456789101112131415161718192021222324252627282930
  1. --- a/dtndht/dtndht.h
  2. +++ b/dtndht/dtndht.h
  3. @@ -7,6 +7,7 @@ extern "C" {
  4. #include <stdio.h>
  5. #include <sys/socket.h>
  6. +#include <time.h>
  7. enum dtn_dht_bind_type {
  8. BINDNONE = 0, IPV4ONLY = 1, IPV6ONLY = 2, BINDBOTH = 3
  9. --- a/dtndht/blacklist.c
  10. +++ b/dtndht/blacklist.c
  11. @@ -6,6 +6,7 @@
  12. #include <string.h>
  13. #include <stdio.h>
  14. #include <arpa/inet.h>
  15. +#include <sys/types.h>
  16. #ifdef HAVE_OPENSSL_SHA_H
  17. #include <openssl/sha.h>
  18. #else
  19. --- a/dtndht/rating.h
  20. +++ b/dtndht/rating.h
  21. @@ -12,6 +12,7 @@
  22. #include <sys/socket.h>
  23. #include <arpa/inet.h>
  24. #include <string.h>
  25. +#include <time.h>
  26. #ifdef HAVE_OPENSSL_SHA_H
  27. #include <openssl/sha.h>
  28. #else