curl-library
Re: Error compiling apps that use curl.h on Solaris with curl 7.17.1
From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 4 Dec 2007 19:18:41 +0100
Date: Tue, 4 Dec 2007 19:18:41 +0100
socklen_t and curl.h strikes back !
Since libcurl 7.17.1 curl.h needs an already defined socklen_t type.
This has already been addressed in CVS version for WIN32 platforms.
But we still miss a proper fix for any other platform that lacks the
socklen_t definition.
Platforms capable of running the configure script are already writing
out a socklen_t replacement in config.h when socklen_t is not
available.
Maybe some magic could be done, when needed, to also write the
socklen_t replacement in curl/type.h and include this from curl.h
-- -=[Yang]=-Received on 2007-12-04