[hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ
Samuel Thibault
samuel.thibault@ens-lyon.org
Wed Sep 21 06:53:07 GMT 2022
The latter is not available without __USE_MISC.
---
sysdeps/mach/hurd/net/route.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index 7bbd94fb56..e7c276edf3 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;
--
2.35.1
More information about the Libc-alpha
mailing list