[!HAVE_DECL_GETCWD]: Declare getcwd.

This commit is contained in:
Jim Meyering committed 2003-03-06 22:04:45 +00:00
1 parent a319b6a626
commit a63a083879
1 file changed
+4
+4
View File
@@ -36,6 +36,10 @@ extern int errno;
prototype for rpl_getcwd. */
#undef getcwd
#if !HAVE_DECL_GETCWD
extern char *getcwd (char *, size_t);
#endif
/* Guess high, because that makes the test below more conservative.
But this is a kludge, because we should really use
pathconf (".", _PC_NAME_MAX). But it's probably not worth the cost. */