include 'struct iovec' for Windows
this is used for in-memory cert loading
This commit is contained in:
parent
6c46e80871
commit
9909bd7aa5
@ -26,6 +26,7 @@ noinst_HEADERS += sys/select.h
|
||||
noinst_HEADERS += sys/socket.h
|
||||
noinst_HEADERS += sys/times.h
|
||||
noinst_HEADERS += sys/types.h
|
||||
noinst_HEADERS += sys/uio.h
|
||||
|
||||
if ENABLE_LIBTLS
|
||||
include_HEADERS = tls.h
|
||||
|
17
include/sys/uio.h
Normal file
17
include/sys/uio.h
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Public domain
|
||||
* sys/select.h compatibility shim
|
||||
*/
|
||||
|
||||
#ifndef _WIN32
|
||||
#include_next <sys/uio.h>
|
||||
#else
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct iovec {
|
||||
void *iov_base;
|
||||
size_t iov_len;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user