mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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:
committed by
Enrico Weigelt
parent
3c5caa1ba0
commit
449327f68f
18
os/Xtrans.h
18
os/Xtrans.h
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user