diff options
Diffstat (limited to 'lang/japhar/patches/patch-ad')
-rw-r--r-- | lang/japhar/patches/patch-ad | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/japhar/patches/patch-ad b/lang/japhar/patches/patch-ad new file mode 100644 index 00000000000..aafcc231f81 --- /dev/null +++ b/lang/japhar/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $ + +On Solaris, pick up PATH_MAX from <limits.h> + +--- lib/libnative/java.io/unixfilesystem.c 1999/10/19 11:19:27 1.1 ++++ lib/libnative/java.io/unixfilesystem.c 1999/10/19 11:19:53 +@@ -47,6 +47,11 @@ + #include <utime.h> + #endif + ++/* On Solaris, include <limits.h> to pick up PATH_MAX */ ++#if defined(__sun__) && defined(__svr4__) ++#include <limits.h> ++#endif ++ + static jint BA_EXISTS; + static jint BA_REGULAR; + static jint BA_DIRECTORY; |