summaryrefslogtreecommitdiff
path: root/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch')
-rw-r--r--dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch b/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch
new file mode 100644
index 000000000000..901bcd50706a
--- /dev/null
+++ b/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/src/sysdeptest.c
++++ b/src/sysdeptest.c
+@@ -2,6 +2,7 @@
+ /* presence of mkdtemp and mkstemp by whether this links without error. */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+
+ int