#include <config.h>
#endif
-#if HAVE_TIME_H
-#include <time.h>
-#endif
-
-#if HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-
-#if HAVE_PWD_H
-#include <pwd.h>
-#endif
-
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#if HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
-#if HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <strings.h>
#endif
-#include <ftpd.h>
-
#if WANT_DCACHE
+#include <ftpd.h>
#include <dcache.h>
extern struct dcache *first_dcache;