summaryrefslogtreecommitdiffstats
path: root/source/d/make/make-4.3-getcwd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/make/make-4.3-getcwd.patch')
-rw-r--r--source/d/make/make-4.3-getcwd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/d/make/make-4.3-getcwd.patch b/source/d/make/make-4.3-getcwd.patch
new file mode 100644
index 000000000..7f6f18fa9
--- /dev/null
+++ b/source/d/make/make-4.3-getcwd.patch
@@ -0,0 +1,12 @@
+diff -Nrup a/src/makeint.h b/src/makeint.h
+--- a/src/makeint.h 2016-05-21 16:22:32.000000000 -0400
++++ b/src/makeint.h 2016-09-22 16:12:38.606702160 -0400
+@@ -596,7 +596,7 @@ long int lseek ();
+ # endif
+
+ # ifdef HAVE_GETCWD
+-# if !defined(VMS) && !defined(__DECC)
++# if !defined(VMS) && !defined(__DECC) && !defined(getcwd)
+ char *getcwd ();
+ # endif
+ # else