diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 18:01:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 18:01:25 +0000 |
commit | 101602413fe057426c1aed2eb8c9f97e84cbf040 (patch) | |
tree | eac0322d111158c9c833edc48af86094f26c1e1a /nuttx/netutils/tftpc | |
parent | 40a989872556404606daa6f25ff8ea4df9ad169c (diff) | |
download | px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.tar.gz px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.tar.bz2 px4-nuttx-101602413fe057426c1aed2eb8c9f97e84cbf040.zip |
Misc fixes for ZDS compile/build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1451 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/tftpc')
-rw-r--r-- | nuttx/netutils/tftpc/tftpc_internal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/netutils/tftpc/tftpc_internal.h b/nuttx/netutils/tftpc/tftpc_internal.h index 57a081022..9e853efba 100644 --- a/nuttx/netutils/tftpc/tftpc_internal.h +++ b/nuttx/netutils/tftpc/tftpc_internal.h @@ -42,6 +42,7 @@ #include <nuttx/config.h> #include <sys/types.h> +#include <nuttx/compiler.h> #include <net/uip/uipopt.h> /**************************************************************************** @@ -88,7 +89,9 @@ #if UIP_UDP_MSS < TFTP_MAXPACKETSIZE # define TFTP_PACKETSIZE UIP_UDP_MSS -# warning "uIP MSS is too small for TFTP" +# ifdef CONFIG_CPP_HAVE_WARNING +# warning "uIP MSS is too small for TFTP" +# endif #else # define TFTP_PACKETSIZE TFTP_MAXPACKETSIZE #endif |