diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-11-15 15:13:16 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-11-15 15:13:16 +0000 |
commit | 5facdb707a15825608b07217cec73a20c5de3aee (patch) | |
tree | 63bbaf5f7909980eb79dda73b548b9a728d52910 | |
parent | 8ad91eecb7c19921dba19e293b8b9394fbbda156 (diff) | |
download | mailutils-5facdb707a15825608b07217cec73a20c5de3aee.tar.gz mailutils-5facdb707a15825608b07217cec73a20c5de3aee.tar.bz2 |
Add missing includes
-rw-r--r-- | examples/argcv.c | 2 | ||||
-rw-r--r-- | examples/mailcap.c | 1 | ||||
-rw-r--r-- | examples/url-parse.c | 1 | ||||
-rw-r--r-- | mail/send.c | 1 | ||||
-rw-r--r-- | mailbox/list.c | 1 | ||||
-rw-r--r-- | mh/mh_alias.l | 3 | ||||
-rw-r--r-- | mimeview/mimetypes.l | 9 |
7 files changed, 12 insertions, 6 deletions
diff --git a/examples/argcv.c b/examples/argcv.c index d4743827e..1ad719801 100644 --- a/examples/argcv.c +++ b/examples/argcv.c @@ -26,7 +26,7 @@ #include <unistd.h> #include <getline.h> #include <mailutils/argcv.h> -#include <mailutils/error.h> +#include <mailutils/errno.h> int main(int argc, char **argv) diff --git a/examples/mailcap.c b/examples/mailcap.c index 2f5ed4140..2113d84a9 100644 --- a/examples/mailcap.c +++ b/examples/mailcap.c @@ -16,6 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdlib.h> #include <stdio.h> #include <mailutils/mailcap.h> #include <mailutils/stream.h> diff --git a/examples/url-parse.c b/examples/url-parse.c index 8caa325c9..c0abe6801 100644 --- a/examples/url-parse.c +++ b/examples/url-parse.c @@ -16,6 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdlib.h> #include <stdio.h> #include <string.h> #include <mailutils/errno.h> diff --git a/mail/send.c b/mail/send.c index 9fc47ed37..7cc9aae4f 100644 --- a/mail/send.c +++ b/mail/send.c @@ -21,6 +21,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> +#include <getline.h> #include "mail.h" diff --git a/mailbox/list.c b/mailbox/list.c index 98045f0e7..b1c6636f1 100644 --- a/mailbox/list.c +++ b/mailbox/list.c @@ -22,6 +22,7 @@ #include <errno.h> #include <stdlib.h> +#include <string.h> #include <list0.h> #include <iterator0.h> diff --git a/mh/mh_alias.l b/mh/mh_alias.l index 48f9d32e8..88c88450f 100644 --- a/mh/mh_alias.l +++ b/mh/mh_alias.l @@ -21,7 +21,8 @@ #include <mh_alias.h> #include <sys/stat.h> #include <ctype.h> - +#include <mu_asprintf.h> + #ifndef isblank # define isblank(c) ((c)==' ' || (c)=='\t') #endif diff --git a/mimeview/mimetypes.l b/mimeview/mimetypes.l index 5170535a6..450329c0d 100644 --- a/mimeview/mimetypes.l +++ b/mimeview/mimetypes.l @@ -21,14 +21,15 @@ # include <config.h> #endif +#include <unistd.h> +#include <stdio.h> +#include <sys/stat.h> #include <mimeview.h> #include <mimetypes-decl.h> #include <mu_asprintf.h> -#include <unistd.h> -#include <sys/stat.h> - + static int line_num; -static const char *file_name; +static char *file_name; static int file_name_alloc; static struct obstack stack; |