summaryrefslogtreecommitdiff
path: root/mailbox
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-02-03 11:31:06 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-02-03 11:31:06 +0000
commit093f307cd4b64aad88f2bf5410265a6c9953a98e (patch)
tree3e638ec77050a3d4cff9524e3d00ee5cc9a79752 /mailbox
parentc08fb05ddf62c36dc43e88c61e71588937202855 (diff)
downloadmailutils-093f307cd4b64aad88f2bf5410265a6c9953a98e.tar.gz
mailutils-093f307cd4b64aad88f2bf5410265a6c9953a98e.tar.bz2
Added missing includes
Diffstat (limited to 'mailbox')
-rw-r--r--mailbox/mutil.c3
-rw-r--r--mailbox/rfc2047.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/mailbox/mutil.c b/mailbox/mutil.c
index 80d4194aa..a93a0725f 100644
--- a/mailbox/mutil.c
+++ b/mailbox/mutil.c
@@ -29,7 +29,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
-
+#include <ctype.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -47,6 +47,7 @@
#include <mailutils/mu_auth.h>
#include <mailutils/header.h>
#include <mailutils/message.h>
+#include <mailutils/envelope.h>
/* convert a sequence of hex characters into an integer */
diff --git a/mailbox/rfc2047.c b/mailbox/rfc2047.c
index 6ed264023..587077ad6 100644
--- a/mailbox/rfc2047.c
+++ b/mailbox/rfc2047.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <stdlib.h>
#include <errno.h>
+#include <ctype.h>
#include <mailutils/stream.h>
#include <mailutils/filter.h>
#include <mailutils/errno.h>
@@ -65,11 +66,9 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr)
char *encoded_text = NULL;
stream_t filter = NULL;
stream_t in_stream = NULL;
- char *pbuffer = NULL;
const char *filter_type = NULL;
size_t nbytes = 0, size;
char *sp = NULL;
- char *end_position = NULL;
start_position = strstr (fromstr, "=?");
if (!start_position)

Return to:

Send suggestions and report system problems to the System administrator.