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

@@ -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>