Blame SOURCES/make-4.2-getcwd.patch

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