* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
#if defined(USE_SLANG_CURSES) || defined(HAVE_RESIZETERM)
-#include <lib-ui/curses.h>
-
-#include "mutt.h"
-
-#include <stdlib.h>
-#include <unistd.h>
-#include <fcntl.h>
#include <termios.h>
-
#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#else
-# ifdef HAVE_IOCTL_H
-# include <ioctl.h>
-# endif
+# include <sys/ioctl.h>
+#elif defined(HAVE_IOCTL_H)
+# include <ioctl.h>
#endif
+#include <lib-ui/curses.h>
+#include "mutt.h"
+
/* this routine should be called after receiving SIGWINCH */
void mutt_resize_screen (void)
{