Commit 4cfdec1a authored by Martin Petráček's avatar Martin Petráček

msgpack-c: fix conditional include, causing failed build on Turris

parent 82dd5f0a
......@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=msgpack-c
PKG_VERSION:=2.1.5
PKG_RELEASE=1
PKG_RELEASE=2
PKG_SOURCE:=cpp-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/msgpack/msgpack-c/archive
......
--- a/include/msgpack/vrefbuffer.h 2017-08-04 17:02:07.000000000 +0200
+++ b/include/msgpack/vrefbuffer.h 2018-09-20 13:03:51.071078491 +0200
@@ -13,14 +13,7 @@
#include "zone.h"
#include <stdlib.h>
-#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__QNXTO__)
#include <sys/uio.h>
-#else
-struct iovec {
- void *iov_base;
- size_t iov_len;
-};
-#endif
#ifdef __cplusplus
extern "C" {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment