Blame SOURCES/make-4.3-getcwd.patch

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