net/usrsock/usrsock.h: Fix re-definitions of struct iovec.

This commit is contained in:
ligd 2018-08-26 15:03:32 -06:00 committed by Gregory Nutt
parent 31b3dc6c27
commit 3ae93762b7

View File

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