ports/mail/metamail/files/patch-metamail_shared.c
Baptiste Daroussin 54598e668d Prevent collision with getline(3)
While here, regenerate patches
2016-05-13 19:30:14 +00:00

17 lines
378 B
C

--- metamail/shared.c.orig 1993-05-16 18:19:32 UTC
+++ metamail/shared.c
@@ -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;