summaryrefslogtreecommitdiffstats
path: root/lang/guile/files/patch-srfi_srfi-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/guile/files/patch-srfi_srfi-4.c')
-rw-r--r--lang/guile/files/patch-srfi_srfi-4.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/guile/files/patch-srfi_srfi-4.c b/lang/guile/files/patch-srfi_srfi-4.c
new file mode 100644
index 000000000..e4fb17f3e
--- /dev/null
+++ b/lang/guile/files/patch-srfi_srfi-4.c
@@ -0,0 +1,13 @@
+--- srfi/srfi-4.c.orig Sat Nov 20 17:30:56 2004
++++ srfi/srfi-4.c Sat Nov 20 17:31:55 2004
+@@ -50,6 +50,10 @@
+ #include <string.h>
+ #include <stdio.h>
+
++#ifndef SIZE_MAX
++#define SIZE_MAX ((size_t) (-1))
++#endif
++
+ /* For brevity and maintainability, we define our own types for the
+ various integer and floating point types. */
+ typedef unsigned char int_u8;