Blame SOURCES/make-4.3-getcwd.patch

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