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

Howard Chu hyc at highlandsun.com
Sun Apr 18 21:52:33 CEST 2010


David Woodhouse wrote:
> 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:

Then something is weird with your cross-compile environment, it builds fine 
for me with MinGW/MSYS. Anyway, it builds fine this way too so I guess we can 
commit that.
>
> 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
>


More information about the rtmpdump mailing list