diff options
author | Yang Tse <yangsita@gmail.com> | 2006-11-02 00:33:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-11-02 00:33:43 +0000 |
commit | 0ed285e84db0049aabb8a8acb34e8ca591ed451b (patch) | |
tree | 50675b43984c6433f8c0c32f23f53ef158fef120 /lib | |
parent | 905ca77c9ed0edac993c0f9bd9dac36253d96dd5 (diff) | |
download | curl-0ed285e84db0049aabb8a8acb34e8ca591ed451b.tar.gz |
prototype for gethostname is in unistd.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_ntlm.c | 4 |
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" |