diff options
Diffstat (limited to 'apps/nshlib/nsh_netinit.c')
-rw-r--r-- | apps/nshlib/nsh_netinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c index 6b4e3daeb..ed42bb9ba 100644 --- a/apps/nshlib/nsh_netinit.c +++ b/apps/nshlib/nsh_netinit.c @@ -200,7 +200,9 @@ static const uint16_t g_ipv6_netmask[8] = static void nsh_netinit_configure(void) { +#ifdef CONFIG_NET_IPv4 struct in_addr addr; +#endif #if defined(CONFIG_NSH_DHCPC) FAR void *handle; #endif |