vlc | branch: master | Julian Scheel <[email protected]> | 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 <[email protected]>
Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> 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);

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to