cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: compile curl-7.15.3: nmake -f makefile.vc fails

From: Huub Fleuren <hfl_at_home.nl>
Date: Mon, 15 May 2006 15:31:15 +0200

Daniel,

Thanks for the response,

I don't have ws2tcpip.h so commented out HAVE_WS2TCPIP_H

It compiles now.

Regards, Huub

Daniel Stenberg wrote:
> On Sat, 13 May 2006, Huub Fleuren wrote:
>
>> .\ftp.c(214) : error C2065: 'socklen_t' : undeclared identifier
>
> libcurl's header file lib/config-win32.h skips the define of socklen_t
> if you also have HAVE_WS2TCPIP_H defined, and you should since that is
> defined further up in the same header file.
>
> Doesn't your ws2tcpip.h header file define/typedef that socklen_t type
> for you?
>
Received on 2006-05-15