Blame SOURCES/make-4.3-getcwd.patch

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