[vlc-devel] [PATCH v4 08/18] nacl: vlc_fixups: Define IOV_MAX for newlib/nacl

Julian Scheel julian at jusst.de
Wed Mar 22 09:58:56 CET 2017


Signed-off-by: Julian Scheel <julian at jusst.de>
---
 include/vlc_fixups.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 111f03d66c..2a8cbbbc16 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -411,6 +411,10 @@ struct msghdr
 };
 #endif
 
+#ifdef _NEWLIB_VERSION
+#define IOV_MAX 255
+#endif
+
 #ifndef HAVE_RECVMSG
 struct msghdr;
 ssize_t recvmsg(int, struct msghdr *, int);
-- 
2.12.0



More information about the vlc-devel mailing list