aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2007-02-26 04:24:26 +0000
committerGisle Vanem <gvanem@broadpark.no>2007-02-26 04:24:26 +0000
commitc514a2a89aa1c1e06b70405eedb4e1f70b27fd10 (patch)
treec685e0a7611170a72dfa9c9825f95fb2ee7be900 /lib/ssh.c
parente2f0580dfe45c9337394ecce74ca769a3d07635d (diff)
Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
since they're already included through "setup.h".
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