2013-09-26 17:14:40 +02:00

19 lines
462 B
Plaintext

$NetBSD: patch-ac,v 1.1.1.1 1999/10/28 09:51:43 agc Exp $
Pick up PATH_MAX from <limits.h> on Solaris
--- lib/libnative/java.io/file.c 1999/10/19 11:16:37 1.1
+++ lib/libnative/java.io/file.c 1999/10/19 11:17:59
@@ -46,6 +46,11 @@
# include <direct.h>
#endif
+/* On Solaris, include <limits.h> to pick up PATH_MAX */
+#if defined(__sun__) && defined(__svr4__)
+#include <limits.h>
+#endif
+
/**
* WARNING: returned pointer must be freed by caller
*/