summaryrefslogtreecommitdiff
path: root/java/sablepath/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'java/sablepath/files/patch-ag')
-rw-r--r--java/sablepath/files/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/sablepath/files/patch-ag b/java/sablepath/files/patch-ag
new file mode 100644
index 000000000000..0b990bc2d938
--- /dev/null
+++ b/java/sablepath/files/patch-ag
@@ -0,0 +1,13 @@
+diff -ur sablepath-0.1.3.orig/native/lib/jcl.c sablepath-0.1.3/native/lib/jcl.c
+--- sablepath-0.1.3.orig/native/lib/jcl.c Thu Jun 15 18:32:49 2000
++++ sablepath-0.1.3/native/lib/jcl.c Tue Jul 9 12:44:12 2002
+@@ -26,7 +26,9 @@
+
+ #include <stdio.h>
+ #include <jcl.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+
+ static char errstr[4098]; // this way the memory is pre-allocated, so that we do not have to worry if we are out of memory.
+