apps/netutils/tftpc: Missing header file causes errors in some configurations.
This commit is contained in:
parent
915b42f870
commit
ad2f724daf
@ -50,6 +50,7 @@
|
||||
#include <nuttx/net/netconfig.h>
|
||||
#include <nuttx/net/ethernet.h>
|
||||
#include <nuttx/net/ip.h>
|
||||
#include <nuttx/net/udp.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -101,7 +102,7 @@
|
||||
#if MIN_UDP_MSS < TFTP_MAXPACKETSIZE
|
||||
# define TFTP_PACKETSIZE MIN_UDP_MSS
|
||||
# ifdef CONFIG_CPP_HAVE_WARNING
|
||||
# warning "uIP MSS is too small for TFTP"
|
||||
# warning "MSS is too small for TFTP"
|
||||
# endif
|
||||
#else
|
||||
# define TFTP_PACKETSIZE TFTP_MAXPACKETSIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user