mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 14:37:10 +08:00
Compatibility for next Newlib update
This commit is contained in:
@@ -98,6 +98,10 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
|
||||
|
||||
#define EDOOFUS __ELASTERROR
|
||||
|
||||
/* FIXME: Newlib forward compatibility */
|
||||
#define IP_MIN_MEMBERSHIPS 31
|
||||
#define IPV6_MIN_MEMBERSHIPS 31
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
@@ -172,7 +172,12 @@ static socket_test socket_tests[] = {
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SCCSP, 0 },
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SCTP, 0 },
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SDRP, 0 },
|
||||
#ifdef IPPROTO_SEP
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SEP, 0 },
|
||||
#endif
|
||||
#ifdef IPPROTO_DCCP
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_DCCP, 0 },
|
||||
#endif
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SKIP, 0 },
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_SRPC, 0 },
|
||||
{ PF_INET, SOCK_RAW, IPPROTO_ST, 0 },
|
||||
|
Reference in New Issue
Block a user