* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <dirent.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-#include <lib-lib/str.h>
-#include <lib-lib/file.h>
+#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
+#include "curses.h"
#include <imap/imap.h>
#ifdef USE_NNTP
#include <nntp/nntp.h>
}
}
- strcpy (s, filepart);
+ m_strcpy(s, slen, filepart);
return (init ? 0 : -1);
}