]> git.sesse.net Git - vlc/blob - contrib/src/gnutls/read-file-limits.h.patch
contribs: bluray: Fix xml2 option name
[vlc] / contrib / src / gnutls / read-file-limits.h.patch
1 --- gnutls/gl/read-file.c.orig  2012-03-06 20:59:29.600593329 -0500
2 +++ gnutls/gl/read-file.c       2012-03-06 20:59:44.568593328 -0500
3 @@ -35,6 +35,9 @@
4  /* Get errno. */
5  #include <errno.h>
6  
7 +/* Get SIZE_MAX */
8 +#include <limits.h>
9 +
10  /* Read a STREAM and return a newly allocated string with the content,
11     and set *LENGTH to the length of the string.  The string is
12     zero-terminated, but the terminating zero byte is not counted in