mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
nshlib: nsh_netcmds.c should include netlib.h even if neither TCP nor UDP are enabled
This commit is contained in:
parent
adc1b27051
commit
ad608c705c
1 changed files with 1 additions and 4 deletions
|
|
@ -83,19 +83,16 @@
|
|||
#include <nuttx/net/sixlowpan.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \
|
||||
!defined(CONFIG_DISABLE_SIGNALS)
|
||||
#ifdef CONFIG_NETUTILS_NETLIB
|
||||
# include "netutils/netlib.h"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||
# include "netutils/netlib.h"
|
||||
# include "netutils/tftp.h"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_TCP) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||
# ifndef CONFIG_NSH_DISABLE_WGET
|
||||
# include "netutils/netlib.h"
|
||||
# include "netutils/webclient.h"
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue