diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-09-24 14:10:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-09-24 14:10:43 +0200 |
commit | 747c6165b89f4283fb24a2a58f2f51775acd39b7 (patch) | |
tree | e680d016a59b4b46c7797d15f3e75fe16a9b57f6 | |
parent | Fix pgsigio() warnings (diff) | |
download | rtems-libbsd-747c6165b89f4283fb24a2a58f2f51775acd39b7.tar.bz2 |
Compatibility for next Newlib update
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 4 | ||||
-rw-r--r-- | testsuite/syscalls01/test_main.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h index 09bcecf1..6939be8e 100644 --- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h +++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h @@ -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 */ diff --git a/testsuite/syscalls01/test_main.c b/testsuite/syscalls01/test_main.c index 3254ba5c..dedad0b4 100644 --- a/testsuite/syscalls01/test_main.c +++ b/testsuite/syscalls01/test_main.c @@ -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 }, |