From 473ba2ba6c4ee90d6bfe6bed8db5b20e072b16c5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 26 Jun 2014 07:29:16 -0600 Subject: [PATCH] NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS= --- include/nuttx/net/uip.h | 4 ++-- net/send.c | 1 + net/tcp/tcp_wrbuffer.c | 1 + net/uip/uip.h | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/nuttx/net/uip.h b/include/nuttx/net/uip.h index b9bad39f8fe..32f8821e572 100644 --- a/include/nuttx/net/uip.h +++ b/include/nuttx/net/uip.h @@ -68,9 +68,9 @@ /* The following flags may be set in the set of flags before calling the * application callback. The UIP_ACKDATA, UIP_NEWDATA, and UIP_CLOSE flags - * may be set at the same time, whereas the others are mutualy exclusive. + * may be set at the same time, whereas the others are mutually exclusive. * - * UIP_ACKDATA IN: Signifies that the outstanding data was acked and + * UIP_ACKDATA IN: Signifies that the outstanding data was ACKed and * the application should send out new data instead * of retransmitting the last data (TCP only) * OUT: Input state must be preserved on output. diff --git a/net/send.c b/net/send.c index b5219490537..8cc4410da34 100644 --- a/net/send.c +++ b/net/send.c @@ -43,6 +43,7 @@ #include #include +#include #include #include "tcp/tcp.h" diff --git a/net/tcp/tcp_wrbuffer.c b/net/tcp/tcp_wrbuffer.c index 902b3bfb772..b893a6bd69e 100644 --- a/net/tcp/tcp_wrbuffer.c +++ b/net/tcp/tcp_wrbuffer.c @@ -55,6 +55,7 @@ #include #include +#include #include #include "tcp/tcp.h" diff --git a/net/uip/uip.h b/net/uip/uip.h index 7a11dab26cc..07852e04531 100644 --- a/net/uip/uip.h +++ b/net/uip/uip.h @@ -50,6 +50,7 @@ #include #include #include + #include #include