mirror of
https://github.com/apache/nuttx.git
synced 2025-12-19 01:29:44 +08:00
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:
committed by
Alan Carvalho de Assis
parent
d126ddeeed
commit
6b413ec241
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user