summaryrefslogtreecommitdiff
path: root/mail/metamail/files/patch-metamail_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/metamail/files/patch-metamail_shared.c')
-rw-r--r--mail/metamail/files/patch-metamail_shared.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/metamail/files/patch-metamail_shared.c b/mail/metamail/files/patch-metamail_shared.c
new file mode 100644
index 000000000000..d32011ea6582
--- /dev/null
+++ b/mail/metamail/files/patch-metamail_shared.c
@@ -0,0 +1,17 @@
+--- metamail/shared.c.orig Sun May 16 20:19:32 1993
++++ metamail/shared.c Mon Dec 18 11:46:22 2006
+@@ -1,4 +1,6 @@
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>
+ #include <config.h>
+ #ifdef SYSV
+@@ -6,7 +8,6 @@
+ #include <sys/utsname.h>
+ #endif
+
+-extern char *malloc();
+ char **Exceptions;
+ int *NeedsPortableNewlines;
+ int ExceptionsAlloced = 0, ExceptionsUsed = 0;