aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-02 00:33:43 +0000
committerYang Tse <yangsita@gmail.com>2006-11-02 00:33:43 +0000
commit0ed285e84db0049aabb8a8acb34e8ca591ed451b (patch)
tree50675b43984c6433f8c0c32f23f53ef158fef120
parent905ca77c9ed0edac993c0f9bd9dac36253d96dd5 (diff)
prototype for gethostname is in unistd.h
-rw-r--r--lib/http_ntlm.c4
1 files changed, 4 insertions, 0 deletions
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 <stdlib.h>
#include <ctype.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include "urldata.h"
#include "sendf.h"
#include "strequal.h"