diff options
Diffstat (limited to 'nuttx/net/net_addroute.c')
-rw-r--r-- | nuttx/net/net_addroute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/net/net_addroute.c b/nuttx/net/net_addroute.c index fd4e7de9a..6b7ac9f6e 100644 --- a/nuttx/net/net_addroute.c +++ b/nuttx/net/net_addroute.c @@ -40,6 +40,7 @@ #include <nuttx/config.h> #include <stdint.h> +#include <string.h> #include <errno.h> #include <nuttx/net/route.h> @@ -117,4 +118,4 @@ int net_addroute(uip_ipaddr_t target, uip_ipaddr_t netmask, return net_foreachroute(net_available, &route) ? OK : -EAGAIN; } -#endif /* CONFIG_NET && CONFIG_NET_SOCKOPTS && !CONFIG_DISABLE_CLOCK */ +#endif /* CONFIG_NET && CONFIG_NET_ROUTE */ |