include 'struct iovec' for Windows

this is used for in-memory cert loading
This commit is contained in:
Brent Cook
2015-01-31 21:52:20 -06:00
parent 6c46e80871
commit 9909bd7aa5
2 changed files with 18 additions and 0 deletions

17
include/sys/uio.h Normal file
View 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