make/make-4.0-getcwd.patch
Patsy Franklin 2d4dfd6bee Resolves: #1150488
- Make 4.1 update, including patches included in make-4.0.
2015-10-29 22:58:16 -04:00

13 lines
379 B
Diff

diff -Nrup a/makeint.h b/makeint.h
--- a/makeint.h 2013-10-09 00:22:40.000000000 -0400
+++ b/makeint.h 2014-02-03 17:46:24.969618708 -0500
@@ -528,7 +528,7 @@ long int lseek ();
#endif /* Not GNU C library or POSIX. */
#ifdef HAVE_GETCWD
-# if !defined(VMS) && !defined(__DECC)
+# if !defined(VMS) && !defined(__DECC) && !defined(getcwd)
char *getcwd ();
# endif
#else