Add missing includes
Showing
7 changed files
with
12 additions
and
6 deletions
... | @@ -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,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; | ... | ... |
-
Please register or sign in to post a comment