os: xtrans: drop own struct iovec definition on win32

We don't need our own `struct iovec` definition on win32/mingw anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-31 13:20:22 +02:00
committed by Enrico Weigelt
parent 3c5caa1ba0
commit 449327f68f

View File

@@ -109,24 +109,6 @@ typedef int BytesReadable_t;
typedef long BytesReadable_t;
#endif
#if defined(WIN32)
/*
* _XSERVTransWritev use struct iovec, normally found
* in Berkeley systems in <sys/uio.h>. See the readv(2) and writev(2)
* manual pages for details.
*/
struct iovec {
caddr_t iov_base;
int iov_len;
};
#else
#include <sys/uio.h>
#endif
typedef struct _XtransConnInfo *XtransConnInfo;
/*