make/make-4.2-getcwd.patch
Patsy Franklin 2bfdac0113 Resolves: #1338558
- Rebase to make-4.2.1. Remove obsolete patches.
2016-09-25 18:04:08 -04:00

13 lines
349 B
Diff

diff -Nrup a/makeint.h b/makeint.h
--- a/makeint.h 2016-05-21 16:22:32.000000000 -0400
+++ b/makeint.h 2016-09-22 16:12:38.606702160 -0400
@@ -596,7 +596,7 @@ long int lseek ();
# endif
# ifdef HAVE_GETCWD
-# if !defined(VMS) && !defined(__DECC)
+# if !defined(VMS) && !defined(__DECC) && !defined(getcwd)
char *getcwd ();
# endif
# else