]> granicus.if.org Git - curl/commitdiff
prototype for gethostname is in unistd.h
authorYang Tse <yangsita@gmail.com>
Thu, 2 Nov 2006 00:33:43 +0000 (00:33 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 2 Nov 2006 00:33:43 +0000 (00:33 +0000)
lib/http_ntlm.c

index 8205a8fea12fe0752a3c3de2708852b448bf5265..4bbd0dda7fd27e0da8bf74a722a327845c68907d 100644 (file)
 #include <stdlib.h>
 #include <ctype.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "urldata.h"
 #include "sendf.h"
 #include "strequal.h"