diff options
Diffstat (limited to 'dhcpcd/ipv6nd.c')
-rw-r--r-- | dhcpcd/ipv6nd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dhcpcd/ipv6nd.c b/dhcpcd/ipv6nd.c index 2fd20842..5709ed19 100644 --- a/dhcpcd/ipv6nd.c +++ b/dhcpcd/ipv6nd.c @@ -25,6 +25,10 @@ * SUCH DAMAGE. */ +#ifdef __rtems__ +#include <rtems/bsd/local/opt_inet6.h> +#endif /* __rtems__ */ +#if defined(__rtems__) && defined(INET6) #include <sys/ioctl.h> #include <sys/param.h> #include <sys/socket.h> @@ -1833,3 +1837,4 @@ ipv6nd_startrs(struct interface *ifp) ipv6nd_sendrsprobe(ifp); return 0; } +#endif /* defined(__rtems__) && defined(INET6) */ |