Commit 93f36d71 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: gnutls: missing limits.h

(cherry picked from commit ecd92c1dd91675e61ba69aac6e72277f06bd7abf)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b55752f3
--- gnutls/lib/gl/read-file.c.orig 2012-03-06 20:59:29.600593329 -0500
+++ gnutls/lib/gl/read-file.c 2012-03-06 20:59:44.568593328 -0500
@@ -35,6 +35,9 @@
/* Get errno. */
#include <errno.h>
+/* Get SIZE_MAX */
+#include <limits.h>
+
/* Read a STREAM and return a newly allocated string with the content,
and set *LENGTH to the length of the string. The string is
zero-terminated, but the terminating zero byte is not counted in
...@@ -22,6 +22,7 @@ ifdef HAVE_ANDROID ...@@ -22,6 +22,7 @@ ifdef HAVE_ANDROID
$(APPLY) $(SRC)/gnutls/no-gl.patch $(APPLY) $(SRC)/gnutls/no-gl.patch
endif endif
$(APPLY) $(SRC)/gnutls/gnutls-no-egd.patch $(APPLY) $(SRC)/gnutls/gnutls-no-egd.patch
$(APPLY) $(SRC)/gnutls/read-file-limits.h.patch
$(UPDATE_AUTOCONFIG) $(UPDATE_AUTOCONFIG)
$(MOVE) $(MOVE)
......
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