mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 07:25:55 +02:00
Include <sys/uio.h> in NetBSD too.
This was needed for neovim
This commit is contained in:
parent
208595b262
commit
f65c26e280
@ -13,7 +13,7 @@
|
|||||||
#include "zone.h"
|
#include "zone.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__QNXTO__)
|
#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__)
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
#else
|
#else
|
||||||
struct iovec {
|
struct iovec {
|
||||||
@ -138,4 +138,3 @@ static inline size_t msgpack_vrefbuffer_veclen(const msgpack_vrefbuffer* vref)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* msgpack/vrefbuffer.h */
|
#endif /* msgpack/vrefbuffer.h */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user