cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH v2] NTLM tests: boost coverage by forcing the hostname

From: Daniel Stenberg <>
Date: Mon, 2 Aug 2010 22:05:48 +0200 (CEST)

On Mon, 2 Aug 2010, Guenter wrote:

> there's still one issue that builds claim not to have a prototype for
> gethostname ...

Right, we need to provide a local one. I had to remove the #include of
<unistd.h> since some systems use a slightly different prototype and then we
get warnings when the declaration and the prototype mismatch!

List admin:
Received on 2010-08-02