1[PATCH] Fix compilation on musl 2 3Using the ssize_t typedef requires including <unistd.h>. 4 5See : https://sourceforge.net/p/dtorrent/patches/3/ 6 7Signed-off-by: Brendan Heading <brendanheading@gmail.com> 8Upstream-status: submitted 9--- 10diff -Nur a/compat.c b/compat.c 11--- a/compat.c 2015-07-29 18:22:24.658415171 +0100 12+++ b/compat.c 2015-07-29 18:36:21.752576311 +0100 13@@ -63,6 +63,7 @@ 14 15 #ifndef HAVE_STRNSTR 16 #include <string.h> 17+#include <unistd.h> 18 /* FUNCTION PROGRAMER: Siberiaic Sang */ 19 char *strnstr(const char *haystack, const char *needle, size_t haystacklen) 20 { 21