ports/mail/elm/patches/patch-src_elm_c

31 lines
706 B
Text

Index: src/elm.c
--- src/elm.c.orig
+++ src/elm.c
@@ -21,10 +21,6 @@ static char rcsid[] = "@(#)$Id: elm.c,v 1.12.2.1 1999/
#include "s_elm.h"
#include "elmlib.h"
-#ifdef BSD_TYPE
-# include <sys/timeb.h>
-#endif
-
#include "mime.h"
#include "me.h"
@@ -35,6 +31,8 @@ static void do_check_only P_((char *argv[])); /* Proto
static void debug_screen P_((void));
static void debug_message P_((void));
+FILE *debugfile;
+
int main(argc, argv)
int argc;
char *argv[];
@@ -47,6 +45,7 @@ int main(argc, argv)
long num; /** another variable for fun.. **/
extern int errno;
+ debugfile = stderr;
locale_init();
req_mfile = parse_arguments(argc, argv, &to_whom,