diff options
| author | Brent Cook <busterb@gmail.com> | 2015-01-31 21:52:20 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2015-01-31 21:52:20 -0600 |
| commit | 9909bd7aa5a0f93dd65b4ba557c906120fd64609 (patch) | |
| tree | 713619771968c3eed6e937fa69ab192b75f64969 /include/sys | |
| parent | 6c46e808718463c4461f1bc389785881b45d0344 (diff) | |
| download | portable-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.h | 17 |
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 | |||
| 12 | struct iovec { | ||
| 13 | void *iov_base; | ||
| 14 | size_t iov_len; | ||
| 15 | }; | ||
| 16 | |||
| 17 | #endif | ||
