From 0ed285e84db0049aabb8a8acb34e8ca591ed451b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 2 Nov 2006 00:33:43 +0000 Subject: prototype for gethostname is in unistd.h --- lib/http_ntlm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 8205a8fea..4bbd0dda7 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -44,6 +44,10 @@ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif + #include "urldata.h" #include "sendf.h" #include "strequal.h" -- cgit v1.2.3