mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
[!HAVE_DECL_GETCWD]: Declare getcwd.
This commit is contained in:
1 parent
a319b6a626
commit
a63a083879
1 file changed
+4
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user