NSH: Needs to include tftp.h if TFTP no disabled

This commit is contained in:
Gregory Nutt 2017-04-29 08:41:55 -06:00
parent 8007332ab1
commit 08b2fee0fb

View File

@ -89,6 +89,9 @@
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
# include "netutils/netlib.h"
# if !defined(CONFIG_NSH_DISABLE_GET) || !defined(CONFIG_NSH_DISABLE_PUT)
# include "netutils/tftp.h"
# endif
#endif
#if defined(CONFIG_NET_TCP) && CONFIG_NFILE_DESCRIPTORS > 0