diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-12-09 13:02:48 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-12-09 13:02:48 +0100 |
commit | ffc9806e6dd0164a1498777b4add13c56d2957a6 (patch) | |
tree | 6cefae152d3aa84e5a993d9b847794314af2c57a /include/libssh | |
parent | 984fb41b9838c80ec35eb9595b11df15ba8d152a (diff) | |
download | libssh-ffc9806e6dd0164a1498777b4add13c56d2957a6.tar.gz libssh-ffc9806e6dd0164a1498777b4add13c56d2957a6.tar.xz libssh-ffc9806e6dd0164a1498777b4add13c56d2957a6.zip |
Remove socklen_t definition.
Tthe problem is that winsock2.h defines socklen_t as a typedef, not as a
define, so depending on the order of includes you can get errors in
ws2tcpip.h with msvc.
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index b846220..4ea7430 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -63,9 +63,6 @@ #ifdef _WIN32 #include <winsock2.h> - #ifndef socklen_t - #define socklen_t int - #endif #else /* _WIN32 */ #include <sys/select.h> /* for fd_set * */ #include <netdb.h> |