* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <lib-lib/mem.h>
-#include <lib-lib/buffer.h>
-#include <lib-lib/macros.h>
+#include <lib-lib/lib-lib.h>
+#include <dirent.h>
+#include <utime.h>
#include <lib-ui/curses.h>
+#include <lib-ui/sidebar.h>
#include <imap/imap.h>
#include "buffy.h"
#include "mx.h"
#include "mh.h"
-#include "sidebar.h"
-
-
-#include <string.h>
-#include <sys/stat.h>
-#include <dirent.h>
-#include <utime.h>
-#include <ctype.h>
-#include <unistd.h>
-
-#include <stdio.h>
static time_t BuffyTime = 0; /* last time we started checking for mail */