aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-12-09 13:02:48 +0100
committerAndreas Schneider <mail@cynapses.org>2009-12-09 13:02:48 +0100
commitffc9806e6dd0164a1498777b4add13c56d2957a6 (patch)
tree6cefae152d3aa84e5a993d9b847794314af2c57a /include
parent984fb41b9838c80ec35eb9595b11df15ba8d152a (diff)
downloadlibssh-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')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index b8462209..4ea7430b 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>