Commit ecd92c1d authored by Rafaël Carré's avatar Rafaël Carré

contrib: gnutls: missing limits.h

parent a75552b8
--- 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