diff mbox series

[hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ

Message ID 20220921065307.68296-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ | expand

Commit Message

Samuel Thibault Sept. 21, 2022, 6:53 a.m. UTC
The latter is not available without __USE_MISC.
---
 sysdeps/mach/hurd/net/route.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;