diff --git a/newlib/libc/sys/rtems/include/netinet6/in6.h b/newlib/libc/sys/rtems/include/netinet6/in6.h index f6399eed1..68d4c3e4e 100644 --- a/newlib/libc/sys/rtems/include/netinet6/in6.h +++ b/newlib/libc/sys/rtems/include/netinet6/in6.h @@ -265,8 +265,13 @@ extern const struct in6_addr in6addr_linklocal_allv2routers; * IP6 route structure */ #if __BSD_VISIBLE +struct nhop_object; struct route_in6 { +#if __FreeBSD_version >= 1300092 + struct nhop_object *ro_nh; +#else struct rtentry *ro_rt; +#endif struct llentry *ro_lle; /* * ro_prepend and ro_plen are only used for bpf to pass in a