Patch fixes following build error: error: implicit declaration of function ‘close’ [-Werror=implicit-function-declaration] close(cl->s.fd.fd);
Signed-off-by: Luka Perkov <[email protected]> --- examples/ustream-example.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ustream-example.c b/examples/ustream-example.c index 88c7381..3db56c4 100644 --- a/examples/ustream-example.c +++ b/examples/ustream-example.c @@ -5,6 +5,7 @@ #include <getopt.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "ustream.h" #include "uloop.h" -- 2.0.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
