[rtmpdump] r434 - trunk/librtmp/rtmp_sys.h

David Woodhouse dwmw2 at infradead.org
Sun Apr 18 21:42:23 CEST 2010


On Sun, 2010-04-18 at 21:32 +0200, hyc wrote:
> 
> -#include <winsock.h>
> +#include <winsock2.h> 

That's not sufficient here. I need to include ws2tcpip.h instead of the
dirty '#define socklen_t int', or it still fails when gcrypt.h later
includes ws2tcpip.h:

In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/gcrypt.h:35,
                 from handshake.h:27,
                 from rtmp.c:123:
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:272: error: two or more data types in declaration specifiers
make[2]: *** [rtmp.o] Error 1

-- 
dwmw2



More information about the rtmpdump mailing list