FreeBSD is not exporting s6_addr32 by default, but has it. Signed-off-by: Alex Samorukov <[email protected]> --- networking/httpd.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/networking/httpd.c b/networking/httpd.c index 4c014bc71..8b86ed43d 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -298,6 +298,11 @@ # include <sys/sendfile.h> #endif +/* see sys/netinet6/in6.h */ +#ifdef __FreeBSD__ +#define s6_addr32 __u6_addr.__u6_addr32 +#endif + #define DEBUG 0 #define IOBUF_SIZE 8192 -- 2.29.1 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
