From: Samuel Thibault Date: Wed, 21 Sep 2022 06:51:50 +0000 (+0200) Subject: hurd: Use IF_NAMESIZE rather than IFNAMSIZ X-Git-Tag: glibc-2.37~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51;p=thirdparty%2Fglibc.git hurd: Use IF_NAMESIZE rather than IFNAMSIZ The latter is not available without __USE_MISC. --- diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h index 7bbd94fb56f..e7c276edf39 100644 --- a/sysdeps/mach/hurd/net/route.h +++ b/sysdeps/mach/hurd/net/route.h @@ -68,7 +68,7 @@ struct in6_rtmsg typedef struct ifrtreq { - char ifname[IFNAMSIZ]; + char ifname[IF_NAMESIZE]; in_addr_t rt_dest; in_addr_t rt_mask; in_addr_t rt_gateway;