aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/gnutls/size-max.patch
blob: 4cd927bf37b78697f0df44af94acd3e3c9bd74d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gl/read-file.c.orig     2014-11-24 10:06:35.473877332 +0100
+++ gl/read-file.c  2014-11-24 10:03:34.005876607 +0100
@@ -27,6 +27,7 @@

 /* Get SIZE_MAX.  */
 #include <stdint.h>
+#include <limits.h>

 /* Get malloc, realloc, free. */
 #include <stdlib.h>

--- src/gl/read-file.c.orig	2014-11-24 10:06:35.473877332 +0100
+++ src/gl/read-file.c	2014-11-24 10:03:34.005876607 +0100
@@ -27,6 +27,7 @@
 
 /* Get SIZE_MAX.  */
 #include <stdint.h>
+#include <limits.h>
 
 /* Get malloc, realloc, free. */
 #include <stdlib.h>