diff options
Diffstat (limited to 'freebsd/sbin')
-rw-r--r-- | freebsd/sbin/ifconfig/ifconfig.c | 5 | ||||
-rw-r--r-- | freebsd/sbin/ping6/ping6.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/sbin/ifconfig/ifconfig.c b/freebsd/sbin/ifconfig/ifconfig.c index 956a9dfe..b9ba236a 100644 --- a/freebsd/sbin/ifconfig/ifconfig.c +++ b/freebsd/sbin/ifconfig/ifconfig.c @@ -54,6 +54,7 @@ static const char rcsid[] = #undef option #include <machine/rtems-bsd-program.h> #include <machine/rtems-bsd-commands.h> +#include <rtems/bsd/modules.h> #endif /* __rtems__ */ #include <sys/param.h> #include <sys/ioctl.h> @@ -382,8 +383,12 @@ mainwrapper(int argc, char *argv[]) gre_ctor(); group_ctor(); ifmedia_ctor(); +#ifdef RTEMS_BSD_MODULE_IEEE80211 ieee80211_ctor(); +#endif +#ifdef RTEMS_BSD_MODULE_NETINET6 inet6_ctor(); +#endif inet_ctor(); lagg_ctor(); link_ctor(); diff --git a/freebsd/sbin/ping6/ping6.c b/freebsd/sbin/ping6/ping6.c index 9faf09e2..972ef38e 100644 --- a/freebsd/sbin/ping6/ping6.c +++ b/freebsd/sbin/ping6/ping6.c @@ -69,6 +69,7 @@ * SUCH DAMAGE. */ +#if defined(__rtems__) && defined(INET6) #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ @@ -2835,3 +2836,4 @@ usage(void) " [-X timeout] [hops ...] host\n"); exit(1); } +#endif /* defined(__rtems__) && defined(INET6) */ |