Commit dbd6563f dbd6563f43b2efad6079c4fb53cedd745a6c926c by Sergey Poznyakoff

Added missing includes

1 parent 9d0ff26d
......@@ -31,6 +31,8 @@
#include <registrar0.h>
#include <maildir.h>
#include <mailutils/mutil.h>
#include <amd.h>
static int
_maildir_folder_init (folder_t folder ARG_UNUSED)
......
......@@ -31,6 +31,7 @@
#include <registrar0.h>
#include <url0.h>
#include <mailutils/errno.h>
#include <mailutils/mutil.h>
static void url_mbox_destroy (url_t purl);
......
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......@@ -33,6 +33,8 @@
#include <url0.h>
#include <folder0.h>
#include <registrar0.h>
#include <amd.h>
#include <mailutils/mutil.h>
static int
_mh_folder_init (folder_t folder ARG_UNUSED)
......
......@@ -20,6 +20,7 @@
# include <config.h>
#endif
#include <stdio.h>
#include <errno.h>
#include <string.h>
......
......@@ -26,6 +26,7 @@
#include <mailutils/stream.h>
#include <mailutils/filter.h>
#include <mailutils/errno.h>
#include <mailutils/mutil.h>
int
rfc2047_decode (const char *tocode, const char *input, char **ptostr)
......
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -45,6 +45,7 @@
#include <mailutils/debug.h>
#include <mailutils/mailer.h>
#include <mailutils/envelope.h>
#include <mailutils/mime.h>
#include <mu_asprintf.h>
#include <getline.h>
......@@ -315,6 +316,7 @@ char *mh_draft_name __P((void));
char *mh_create_message_id __P((int));
int mh_whom __P((char *filename, int check));
void mh_set_reply_regex __P((const char *str));
int mh_decode_2047 __P((char *text, char **decoded_text));
int mh_alias_read __P((char *name, int fail));
int mh_alias_get __P((char *name, list_t *return_list));
......@@ -349,3 +351,4 @@ int check_draft_disposition __P((struct mh_whatnow_env *wh, int use_draft));
void ali_parse_error __P((char *fmt, ...));
void ali_verbatim __P((int enable));
......
......@@ -19,6 +19,11 @@
#include <mh.h>
#include <mh_alias.h>
#include <sys/stat.h>
#include <ctype.h>
#ifndef isblank
# define isblank(c) ((c)==' ' || (c)=='\t')
#endif
char *ali_filename;
size_t ali_line_num;
......@@ -231,7 +236,7 @@ push_source (const char *name, int fail)
FILE *fp;
struct buffer_ctx *ctx;
struct stat st;
const char *filename;
char *filename;
filename = mh_expand_name (NULL, name, 0);
if (stat (filename, &st))
......