net/tcp: Fix errors found in build testing.

Author: Gregory Nutt <gnutt@nuttx.org>

    net/tcp: Fix errors found in build testing.

    Recent re-organization moved some functions from net/inet to net/tcp and net/udp.  This include references to nxsem_wait(), SEM_PRIO_NONE, and other internal NuttX semaphore functions.  These all failed to compile because nuttx/semaphore.h was not included in any of the files.
This commit is contained in:
Greg Nutt 2020-01-22 12:29:26 -03:00 committed by Alan Carvalho de Assis
parent d126ddeeed
commit 6b413ec241
4 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,7 @@ config WINDOWS_NATIVE
Build natively in a CMD.exe environment with Windows style paths
(like C:\cgywin\home)
This Windows native build is complete and available, but not often
The Windows native build is complete and available, but not often
used or verified. As a consequence, it cannot be assured to be
fully functional at any given time. Hence, it is marked here as
EXPERIMENTAL so that the end user will be aware of this state.

View File

@ -44,6 +44,7 @@
#include <debug.h>
#include <assert.h>
#include <nuttx/semaphore.h>
#include <nuttx/net/net.h>
#include <nuttx/net/netdev.h>
#include <nuttx/net/tcp.h>

View File

@ -45,6 +45,7 @@
#include <debug.h>
#include <assert.h>
#include <nuttx/semaphore.h>
#include <nuttx/net/net.h>
#include <nuttx/mm/iob.h>
#include <nuttx/net/netdev.h>

View File

@ -45,6 +45,7 @@
#include <debug.h>
#include <assert.h>
#include <nuttx/semaphore.h>
#include <nuttx/net/net.h>
#include <nuttx/mm/iob.h>
#include <nuttx/net/netdev.h>