less warnigs
[apps/madmutt.git] / nntp / mx_nntp.c
index 675a7aa..8943c9f 100644 (file)
@@ -3,14 +3,8 @@
  * It's licensed under the GNU General Public License,
  * please see the file GPL in the top level source directory.
  */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
 
-#include <sys/stat.h>
-
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
+#include <lib-lib/lib-lib.h>
 
 #include "mutt.h"
 #include "nntp.h"
@@ -18,9 +12,6 @@
 #include "mx.h"
 #include "mx_nntp.h"
 
-
-#include "url.h"
-
 static int nntp_is_magic (const char* path, struct stat* st) {
   url_scheme_t s = url_check_scheme (NONULL (path));
   return ((s == U_NNTP || s == U_NNTPS) ? M_NNTP : -1);