Commit 5facdb70 5facdb707a15825608b07217cec73a20c5de3aee by Sergey Poznyakoff

Add missing includes

1 parent 8ad91eec
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 #include <unistd.h> 26 #include <unistd.h>
27 #include <getline.h> 27 #include <getline.h>
28 #include <mailutils/argcv.h> 28 #include <mailutils/argcv.h>
29 #include <mailutils/error.h> 29 #include <mailutils/errno.h>
30 30
31 int 31 int
32 main(int argc, char **argv) 32 main(int argc, char **argv)
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 MA 02110-1301 USA */ 17 MA 02110-1301 USA */
18 18
19 #include <stdlib.h>
19 #include <stdio.h> 20 #include <stdio.h>
20 #include <mailutils/mailcap.h> 21 #include <mailutils/mailcap.h>
21 #include <mailutils/stream.h> 22 #include <mailutils/stream.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 MA 02110-1301 USA */ 17 MA 02110-1301 USA */
18 18
19 #include <stdlib.h>
19 #include <stdio.h> 20 #include <stdio.h>
20 #include <string.h> 21 #include <string.h>
21 #include <mailutils/errno.h> 22 #include <mailutils/errno.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
21 #include <sys/stat.h> 21 #include <sys/stat.h>
22 #include <fcntl.h> 22 #include <fcntl.h>
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <getline.h>
24 25
25 #include "mail.h" 26 #include "mail.h"
26 27
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
22 22
23 #include <errno.h> 23 #include <errno.h>
24 #include <stdlib.h> 24 #include <stdlib.h>
25 #include <string.h>
25 26
26 #include <list0.h> 27 #include <list0.h>
27 #include <iterator0.h> 28 #include <iterator0.h>
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
21 #include <mh_alias.h> 21 #include <mh_alias.h>
22 #include <sys/stat.h> 22 #include <sys/stat.h>
23 #include <ctype.h> 23 #include <ctype.h>
24 24 #include <mu_asprintf.h>
25
25 #ifndef isblank 26 #ifndef isblank
26 # define isblank(c) ((c)==' ' || (c)=='\t') 27 # define isblank(c) ((c)==' ' || (c)=='\t')
27 #endif 28 #endif
......
...@@ -21,14 +21,15 @@ ...@@ -21,14 +21,15 @@
21 # include <config.h> 21 # include <config.h>
22 #endif 22 #endif
23 23
24 #include <unistd.h>
25 #include <stdio.h>
26 #include <sys/stat.h>
24 #include <mimeview.h> 27 #include <mimeview.h>
25 #include <mimetypes-decl.h> 28 #include <mimetypes-decl.h>
26 #include <mu_asprintf.h> 29 #include <mu_asprintf.h>
27 #include <unistd.h> 30
28 #include <sys/stat.h>
29
30 static int line_num; 31 static int line_num;
31 static const char *file_name; 32 static char *file_name;
32 static int file_name_alloc; 33 static int file_name_alloc;
33 34
34 static struct obstack stack; 35 static struct obstack stack;
......