From ffc9806e6dd0164a1498777b4add13c56d2957a6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 9 Dec 2009 13:02:48 +0100 Subject: 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. --- include/libssh/libssh.h | 3 --- 1 file changed, 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 - #ifndef socklen_t - #define socklen_t int - #endif #else /* _WIN32 */ #include /* for fd_set * */ #include -- cgit