Blame SOURCES/make-4.2-getcwd.patch

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