ports/devel/djgpp-gcc/files/patch-getpwd.c
Martin Wilke f1ea1119da FSF gcc-4.1 for DJGPP cross-development
WWW: http://www.delorie.com/djgpp/

PR:		ports/108470
Submitted by:	Peter Johnson <johnson.peter at gmail.com>
2007-01-28 21:55:55 +00:00

13 lines
303 B
C

--- libiberty/getpwd.c.orig Tue May 24 13:48:25 2005
+++ libiberty/getpwd.c Sat Jan 27 17:43:11 2007
@@ -39,6 +39,10 @@
#include <limits.h>
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif
+
#include "libiberty.h"
/* Virtually every UN*X system now in common use (except for pre-4.3-tahoe