From c7b58be2d6d57004414b2bc6dcf13ea4b576acdc Mon Sep 17 00:00:00 2001 From: Fabrizio Bertocci Date: Wed, 31 Mar 2021 22:21:12 -0400 Subject: [PATCH] Added missing definition for struct ip_mreq (that at the end is a simple struct containing two in_addr objects) --- libc/sock/sock.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libc/sock/sock.h b/libc/sock/sock.h index b40bc2955..2983b640e 100644 --- a/libc/sock/sock.h +++ b/libc/sock/sock.h @@ -48,6 +48,12 @@ struct sockaddr_storage { }; }; +struct ip_mreq { + struct in_addr imr_multiaddr; /* IP multicast address of group */ + struct in_addr imr_interface; /* local IP address of interface */ +}; + + struct pollfd { int32_t fd; int16_t events;