Blame SOURCES/make-4.3-getcwd.patch

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