mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS=
This commit is contained in:
@@ -68,9 +68,9 @@
|
|||||||
|
|
||||||
/* The following flags may be set in the set of flags before calling the
|
/* 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
|
* 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
|
* the application should send out new data instead
|
||||||
* of retransmitting the last data (TCP only)
|
* of retransmitting the last data (TCP only)
|
||||||
* OUT: Input state must be preserved on output.
|
* OUT: Input state must be preserved on output.
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
#include <nuttx/net/uip.h>
|
||||||
#include <nuttx/net/tcp.h>
|
#include <nuttx/net/tcp.h>
|
||||||
|
|
||||||
#include "tcp/tcp.h"
|
#include "tcp/tcp.h"
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/net/iob.h>
|
#include <nuttx/net/iob.h>
|
||||||
|
#include <nuttx/net/uip.h>
|
||||||
#include <nuttx/net/tcp.h>
|
#include <nuttx/net/tcp.h>
|
||||||
|
|
||||||
#include "tcp/tcp.h"
|
#include "tcp/tcp.h"
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <arch/irq.h>
|
#include <arch/irq.h>
|
||||||
|
|
||||||
#include <nuttx/net/uip.h>
|
#include <nuttx/net/uip.h>
|
||||||
#include <nuttx/net/arp.h>
|
#include <nuttx/net/arp.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user