diff --git a/example/scp.c b/example/scp.c index 999a960e..6dec695a 100644 --- a/example/scp.c +++ b/example/scp.c @@ -9,19 +9,19 @@ # define write(f, b, c) write((f), (b), (unsigned int)(c)) #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/scp_nonblock.c b/example/scp_nonblock.c index 1160150e..9ee48529 100644 --- a/example/scp_nonblock.c +++ b/example/scp_nonblock.c @@ -14,22 +14,22 @@ # define write(f, b, c) write((f), (b), (unsigned int)(c)) #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/scp_write.c b/example/scp_write.c index 581db95a..76bbabd3 100644 --- a/example/scp_write.c +++ b/example/scp_write.c @@ -6,19 +6,19 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/scp_write_nonblock.c b/example/scp_write_nonblock.c index 742896bb..50f9de5a 100644 --- a/example/scp_write_nonblock.c +++ b/example/scp_write_nonblock.c @@ -6,22 +6,22 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftp.c b/example/sftp.c index 12073b70..2d2394fc 100644 --- a/example/sftp.c +++ b/example/sftp.c @@ -15,19 +15,19 @@ # define write(f, b, c) write((f), (b), (unsigned int)(c)) #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftp_RW_nonblock.c b/example/sftp_RW_nonblock.c index 6d30ae7f..f6728b09 100644 --- a/example/sftp_RW_nonblock.c +++ b/example/sftp_RW_nonblock.c @@ -15,22 +15,22 @@ # define write(f, b, c) write((f), (b), (unsigned int)(c)) #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftp_append.c b/example/sftp_append.c index a24d0532..63d9e31d 100644 --- a/example/sftp_append.c +++ b/example/sftp_append.c @@ -12,16 +12,16 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #include diff --git a/example/sftp_mkdir.c b/example/sftp_mkdir.c index 4838c1ef..0ce3307b 100644 --- a/example/sftp_mkdir.c +++ b/example/sftp_mkdir.c @@ -12,16 +12,16 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #include diff --git a/example/sftp_mkdir_nonblock.c b/example/sftp_mkdir_nonblock.c index 4563a153..68a46d9c 100644 --- a/example/sftp_mkdir_nonblock.c +++ b/example/sftp_mkdir_nonblock.c @@ -12,16 +12,16 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #include diff --git a/example/sftp_nonblock.c b/example/sftp_nonblock.c index 760b78ba..658243b7 100644 --- a/example/sftp_nonblock.c +++ b/example/sftp_nonblock.c @@ -15,22 +15,22 @@ # define write(f, b, c) write((f), (b), (unsigned int)(c)) #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftp_write.c b/example/sftp_write.c index a241a424..85823a2d 100644 --- a/example/sftp_write.c +++ b/example/sftp_write.c @@ -12,16 +12,16 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #include diff --git a/example/sftp_write_nonblock.c b/example/sftp_write_nonblock.c index db57fd5f..b5219b59 100644 --- a/example/sftp_write_nonblock.c +++ b/example/sftp_write_nonblock.c @@ -12,22 +12,22 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftp_write_sliding.c b/example/sftp_write_sliding.c index 2be99d29..8950979e 100644 --- a/example/sftp_write_sliding.c +++ b/example/sftp_write_sliding.c @@ -12,22 +12,22 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include diff --git a/example/sftpdir.c b/example/sftpdir.c index 976ae818..5e2993f7 100644 --- a/example/sftpdir.c +++ b/example/sftpdir.c @@ -12,19 +12,19 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_INTTYPES_H -# include +#include #endif #include diff --git a/example/sftpdir_nonblock.c b/example/sftpdir_nonblock.c index 779dd3d4..1bb9eb46 100644 --- a/example/sftpdir_nonblock.c +++ b/example/sftpdir_nonblock.c @@ -12,19 +12,19 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_INTTYPES_H -# include +#include #endif #include diff --git a/example/ssh2.c b/example/ssh2.c index b1e026f5..9accc3ec 100644 --- a/example/ssh2.c +++ b/example/ssh2.c @@ -16,15 +16,15 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif -# ifdef HAVE_ARPA_INET_H +#ifdef HAVE_ARPA_INET_H #include #endif diff --git a/example/ssh2_agent.c b/example/ssh2_agent.c index 2056ba6d..5d7802da 100644 --- a/example/ssh2_agent.c +++ b/example/ssh2_agent.c @@ -11,15 +11,15 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif -# ifdef HAVE_ARPA_INET_H +#ifdef HAVE_ARPA_INET_H #include #endif diff --git a/example/ssh2_agent_forwarding.c b/example/ssh2_agent_forwarding.c index 2e7f104a..5a482efd 100644 --- a/example/ssh2_agent_forwarding.c +++ b/example/ssh2_agent_forwarding.c @@ -17,23 +17,23 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H -# include +#include #endif #include #include diff --git a/example/ssh2_echo.c b/example/ssh2_echo.c index 36651d7f..f2b3085e 100644 --- a/example/ssh2_echo.c +++ b/example/ssh2_echo.c @@ -12,19 +12,19 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H #include diff --git a/example/ssh2_exec.c b/example/ssh2_exec.c index 9fc3dbce..e6a23307 100644 --- a/example/ssh2_exec.c +++ b/example/ssh2_exec.c @@ -14,19 +14,19 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif #ifdef HAVE_SYS_SELECT_H -# include +#include #endif #ifdef HAVE_UNISTD_H -# include +#include #endif #ifdef HAVE_ARPA_INET_H -# include +#include #endif #ifdef HAVE_SYS_TIME_H #include diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h index 6b048df2..22731ff1 100644 --- a/src/libssh2_priv.h +++ b/src/libssh2_priv.h @@ -62,10 +62,10 @@ #else # if defined(HAVE_SELECT) && !defined(WIN32) # ifdef HAVE_SYS_SELECT_H -# include +# include # else -# include -# include +# include +# include # endif # endif #endif @@ -76,10 +76,10 @@ #endif #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_SYS_IOCTL_H -# include +#include #endif #ifdef HAVE_INTTYPES_H #include diff --git a/tests/ssh2.c b/tests/ssh2.c index f9120651..098230df 100644 --- a/tests/ssh2.c +++ b/tests/ssh2.c @@ -5,15 +5,15 @@ #include #ifdef HAVE_SYS_SOCKET_H -# include +#include #endif #ifdef HAVE_NETINET_IN_H -# include +#include #endif -# ifdef HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H #include #endif -# ifdef HAVE_ARPA_INET_H +#ifdef HAVE_ARPA_INET_H #include #endif