mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
net/usrsock/usrsock.h: Fix re-definitions of struct iovec.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#ifdef CONFIG_NET_USRSOCK
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
#include <queue.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
@@ -85,12 +86,6 @@ enum usrsock_conn_state_e
|
||||
USRSOCK_CONN_STATE_CONNECTING,
|
||||
};
|
||||
|
||||
struct iovec
|
||||
{
|
||||
FAR void *iov_base; /* Starting address */
|
||||
size_t iov_len; /* Number of bytes to transfer */
|
||||
};
|
||||
|
||||
struct usrsock_conn_s
|
||||
{
|
||||
dq_entry_t node; /* Supports a doubly linked list */
|
||||
|
||||
Reference in New Issue
Block a user