make/make-4.3-getcwd.patch
DJ Delorie 715e733cee Update to 4.4
Patches rebased to apply cleanly.
2023-01-16 16:45:00 -05:00

13 lines
368 B
Diff

diff -rup a/src/makeint.h b/src/makeint.h
--- a/src/makeint.h 2022-10-24 02:22:00.000000000 -0400
+++ b/src/makeint.h 2022-11-01 17:20:24.764001510 -0400
@@ -678,7 +678,7 @@ long int lseek ();
# endif
# ifdef HAVE_GETCWD
-# if !defined(VMS) && !defined(__DECC)
+# if !defined(VMS) && !defined(__DECC) && !defined(getcwd)
char *getcwd (void);
# endif
# else