socklen_t is needed by lib/lib.h, and is defined in <sys/socket.h> fixes build failure on Alpine Linux with musl as libc (presumably introduced when config2help moved away from toys.h) isspace is defined in <ctype.h>; use that. --- scripts/config2help.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/scripts/config2help.c b/scripts/config2help.c index 7bc3bad..98ac84a 100644 --- a/scripts/config2help.c +++ b/scripts/config2help.c @@ -3,7 +3,9 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> +#include <ctype.h> #include <sys/types.h> +#include <sys/socket.h> #include <sys/stat.h> #include <unistd.h> #include <regex.h> -- 2.7.1 _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
