Commit 093f307c 093f307cd4b64aad88f2bf5410265a6c9953a98e by Sergey Poznyakoff

Added missing includes

1 parent c08fb05d
...@@ -38,6 +38,11 @@ ...@@ -38,6 +38,11 @@
38 #include <mailutils/stream.h> 38 #include <mailutils/stream.h>
39 #include <mailutils/guile.h> 39 #include <mailutils/guile.h>
40 #include <mailutils/nls.h> 40 #include <mailutils/nls.h>
41 #include <mailutils/argp.h>
42 #include <mailutils/list.h>
43 #include <mailutils/mutil.h>
44 #include <mailutils/attribute.h>
45 #include <mailutils/envelope.h>
41 #include <mu_asprintf.h> 46 #include <mu_asprintf.h>
42 47
43 extern char *program_file; 48 extern char *program_file;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
29 #include <string.h> 29 #include <string.h>
30 #include <time.h> 30 #include <time.h>
31 #include <unistd.h> 31 #include <unistd.h>
32 32 #include <ctype.h>
33 #include <sys/param.h> 33 #include <sys/param.h>
34 #include <sys/stat.h> 34 #include <sys/stat.h>
35 #include <sys/types.h> 35 #include <sys/types.h>
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
47 #include <mailutils/mu_auth.h> 47 #include <mailutils/mu_auth.h>
48 #include <mailutils/header.h> 48 #include <mailutils/header.h>
49 #include <mailutils/message.h> 49 #include <mailutils/message.h>
50 #include <mailutils/envelope.h>
50 51
51 /* convert a sequence of hex characters into an integer */ 52 /* convert a sequence of hex characters into an integer */
52 53
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
22 #include <string.h> 22 #include <string.h>
23 #include <stdlib.h> 23 #include <stdlib.h>
24 #include <errno.h> 24 #include <errno.h>
25 #include <ctype.h>
25 #include <mailutils/stream.h> 26 #include <mailutils/stream.h>
26 #include <mailutils/filter.h> 27 #include <mailutils/filter.h>
27 #include <mailutils/errno.h> 28 #include <mailutils/errno.h>
...@@ -65,11 +66,9 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr) ...@@ -65,11 +66,9 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr)
65 char *encoded_text = NULL; 66 char *encoded_text = NULL;
66 stream_t filter = NULL; 67 stream_t filter = NULL;
67 stream_t in_stream = NULL; 68 stream_t in_stream = NULL;
68 char *pbuffer = NULL;
69 const char *filter_type = NULL; 69 const char *filter_type = NULL;
70 size_t nbytes = 0, size; 70 size_t nbytes = 0, size;
71 char *sp = NULL; 71 char *sp = NULL;
72 char *end_position = NULL;
73 72
74 start_position = strstr (fromstr, "=?"); 73 start_position = strstr (fromstr, "=?");
75 if (!start_position) 74 if (!start_position)
......