* [hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ
@ 2022-09-21 6:53 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-09-21 6:53 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault, commit-hurd
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-21 6:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 6:53 [hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).