From e49e38ea3e03ceaee016d6755693aded6ee44a93 Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Thu, 13 Aug 2015 19:21:15 +0200 Subject: [PATCH] dtndht: fix musl build add missing headers on musl Signed-off-by: Dirk Neukirchen --- libs/dtndht/patches/001-musl_header.patch | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libs/dtndht/patches/001-musl_header.patch diff --git a/libs/dtndht/patches/001-musl_header.patch b/libs/dtndht/patches/001-musl_header.patch new file mode 100644 index 0000000000..32eeb6a0a0 --- /dev/null +++ b/libs/dtndht/patches/001-musl_header.patch @@ -0,0 +1,30 @@ +--- a/dtndht/dtndht.h ++++ b/dtndht/dtndht.h +@@ -7,6 +7,7 @@ extern "C" { + + #include + #include ++#include + + enum dtn_dht_bind_type { + BINDNONE = 0, IPV4ONLY = 1, IPV6ONLY = 2, BINDBOTH = 3 +--- a/dtndht/blacklist.c ++++ b/dtndht/blacklist.c +@@ -6,6 +6,7 @@ + #include + #include + #include ++#include + #ifdef HAVE_OPENSSL_SHA_H + #include + #else +--- a/dtndht/rating.h ++++ b/dtndht/rating.h +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #ifdef HAVE_OPENSSL_SHA_H + #include + #else