net/usrsock/usrsock.h: Fix re-definitions of struct iovec.
This commit is contained in:
parent
31b3dc6c27
commit
3ae93762b7
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user