X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b6847272dc5d21ca6fcd23bf20e16193b226c0a..63621a81d16ab743de6b57d47578a9a2c670ad22:/uip/viamail.c diff --git a/uip/viamail.c b/uip/viamail.c index f80980d6..db93066f 100644 --- a/uip/viamail.c +++ b/uip/viamail.c @@ -1,6 +1,4 @@ - -/* - * viamail.c -- send multiple files in a MIME message +/* viamail.c -- send multiple files in a MIME message * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -14,6 +12,9 @@ #include #include #include +#include +#include "sbr/m_mktemp.h" +#include "sbr/base64.h" #define VIAMAIL_SWITCHES \ X("to mailpath", 0, TOSW) \ @@ -56,7 +57,7 @@ main (int argc, char **argv) char *cp, buf[BUFSIZ]; char **argp, **arguments; - if (nmh_init(argv[0], 1)) { return 1; } + if (nmh_init(argv[0], 2)) { return 1; } arguments = getarguments (invo_name, argc, argv, 0); argp = arguments;