aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2015-01-31 21:52:20 -0600
committerBrent Cook <busterb@gmail.com>2015-01-31 21:52:20 -0600
commit9909bd7aa5a0f93dd65b4ba557c906120fd64609 (patch)
tree713619771968c3eed6e937fa69ab192b75f64969 /include/sys
parent6c46e808718463c4461f1bc389785881b45d0344 (diff)
downloadportable-9909bd7aa5a0f93dd65b4ba557c906120fd64609.tar.gz
portable-9909bd7aa5a0f93dd65b4ba557c906120fd64609.tar.bz2
portable-9909bd7aa5a0f93dd65b4ba557c906120fd64609.zip
include 'struct iovec' for Windows
this is used for in-memory cert loading
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/uio.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h
new file mode 100644
index 0000000..b4aee9e
--- /dev/null
+++ b/include/sys/uio.h
@@ -0,0 +1,17 @@
1/*
2 * Public domain
3 * sys/select.h compatibility shim
4 */
5
6#ifndef _WIN32
7#include_next <sys/uio.h>
8#else
9
10#include <sys/types.h>
11
12struct iovec {
13 void *iov_base;
14 size_t iov_len;
15};
16
17#endif