cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-02