aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index d002173ab..1846945a7 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -44,24 +44,14 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
#ifdef HAVE_TIME_H
#include <time.h>
#endif
-#ifdef WIN32
-
-#else /* probably some kind of unix */
+#ifndef WIN32
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
-#include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@@ -78,7 +68,7 @@
#include <in.h>
#include <inet.h>
#endif
-#endif
+#endif /* !WIN32 */
#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
#undef in_addr_t