summaryrefslogtreecommitdiff
path: root/mail/metamail/files/patch-metamail_mailto.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/metamail/files/patch-metamail_mailto.c')
-rw-r--r--mail/metamail/files/patch-metamail_mailto.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/metamail/files/patch-metamail_mailto.c b/mail/metamail/files/patch-metamail_mailto.c
index e240ede37c91..42c6451cadaa 100644
--- a/mail/metamail/files/patch-metamail_mailto.c
+++ b/mail/metamail/files/patch-metamail_mailto.c
@@ -1,5 +1,22 @@
--- metamail/mailto.c.orig Wed Feb 9 21:30:26 1994
+++ metamail/mailto.c Mon Dec 18 11:46:21 2006
+@@ -37,6 +37,8 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>
+ #include <config.h>
+ #include <pwd.h>
+@@ -60,7 +62,6 @@
+ #include <unistd.h>
+ #endif
+
+-extern char *malloc(), *realloc(), *index(), *getmyname();
+ struct mailpart *CreateNewPart();
+
+ /* The main data structure for the multiple parts of the mail */
@@ -570,6 +571,7 @@
if (isupper(*sdum)) *sdum = tolower(*sdum);
}