summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-06 17:58:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-06 17:58:36 -0600
commit1beeff73e138563e949c2afc74d6b07aa06dcb57 (patch)
treeaf1af676ef46b9013f6979c58065b1ec183e26b5 /nuttx/net/tcp
parentde7f2c8553da00529baa9ba6d2faaf7721d0506d (diff)
downloadpx4-nuttx-1beeff73e138563e949c2afc74d6b07aa06dcb57.tar.gz
px4-nuttx-1beeff73e138563e949c2afc74d6b07aa06dcb57.tar.bz2
px4-nuttx-1beeff73e138563e949c2afc74d6b07aa06dcb57.zip
NET: Fix a few problems after big merge of network reorganization
Diffstat (limited to 'nuttx/net/tcp')
-rw-r--r--nuttx/net/tcp/tcp.h2
-rw-r--r--nuttx/net/tcp/tcp_backlog.c1
-rw-r--r--nuttx/net/tcp/tcp_wrbuffer_dump.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/net/tcp/tcp.h b/nuttx/net/tcp/tcp.h
index a9aefbec4..72116e523 100644
--- a/nuttx/net/tcp/tcp.h
+++ b/nuttx/net/tcp/tcp.h
@@ -880,7 +880,7 @@ FAR struct tcp_conn_s *tcp_backlogremove(FAR struct tcp_conn_s *conn);
#ifdef CONFIG_NET_TCPBACKLOG
int tcp_backlogdelete(FAR struct tcp_conn_s *conn,
- FAR struct tcp_conn_s *blconn)
+ FAR struct tcp_conn_s *blconn);
#else
# define tcp_backlogdelete(c,b) (-ENOSYS)
#endif
diff --git a/nuttx/net/tcp/tcp_backlog.c b/nuttx/net/tcp/tcp_backlog.c
index 657aa1418..78c41deab 100644
--- a/nuttx/net/tcp/tcp_backlog.c
+++ b/nuttx/net/tcp/tcp_backlog.c
@@ -50,6 +50,7 @@
#include <nuttx/net/net.h>
#include "devif/devif.h"
+#include "tcp/tcp.h"
/****************************************************************************
* Private Data
diff --git a/nuttx/net/tcp/tcp_wrbuffer_dump.c b/nuttx/net/tcp/tcp_wrbuffer_dump.c
index eac437e02..864e79809 100644
--- a/nuttx/net/tcp/tcp_wrbuffer_dump.c
+++ b/nuttx/net/tcp/tcp_wrbuffer_dump.c
@@ -44,6 +44,8 @@
#include <nuttx/net/iob.h>
+#include "tcp/tcp.h"
+
#ifdef CONFIG_DEBUG
/****************************************************************************