Blame SOURCES/make-4.3-getcwd.patch

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