diff options
Diffstat (limited to 'java/sablepath/files/patch-ad')
-rw-r--r-- | java/sablepath/files/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/sablepath/files/patch-ad b/java/sablepath/files/patch-ad new file mode 100644 index 000000000000..afc6cfac2e64 --- /dev/null +++ b/java/sablepath/files/patch-ad @@ -0,0 +1,13 @@ +diff -ur sablepath-0.1.3.orig/native/java.io/javaio.c sablepath-0.1.3/native/java.io/javaio.c +--- sablepath-0.1.3.orig/native/java.io/javaio.c Thu Jun 15 14:54:13 2000 ++++ sablepath-0.1.3/native/java.io/javaio.c Tue Jul 9 12:44:11 2002 +@@ -37,7 +37,9 @@ + + #include "javaio.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. + |