[vlc-commits] nacl: vlc_fixups: Define IOV_MAX for newlib/nacl

Julian Scheel git at videolan.org
Tue Mar 28 15:39:45 CEST 2017


vlc | branch: master | Julian Scheel <julian at jusst.de> | Wed Mar 22 09:58:56 2017 +0100| [583094f05ad66079f48c4ae6c2f7e53cfc4d8760] | committer: Jean-Baptiste Kempf

nacl: vlc_fixups: Define IOV_MAX for newlib/nacl

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=583094f05ad66079f48c4ae6c2f7e53cfc4d8760
---

 include/vlc_fixups.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 4322647..9d2c659 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -406,6 +406,10 @@ struct msghdr
 };
 #endif
 
+#ifdef _NEWLIB_VERSION
+#define IOV_MAX 255
+#endif
+
 #ifndef HAVE_RECVMSG
 struct msghdr;
 ssize_t recvmsg(int, struct msghdr *, int);



More information about the vlc-commits mailing list