diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-04-21 14:47:07 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2011-04-21 14:47:07 -0700 |
commit | 17df5d8caa1009c5ca168fc9643dc9d77c219832 (patch) | |
tree | c2ec463362c88a298e1ac7c9a68b95e69573ef90 /lib/http_proxy.c | |
parent | 210278d9a1424365721e76f7934dbff06ccf9a60 (diff) |
Include unistd.h to declare close()
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r-- | lib/http_proxy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 99f3f0a70..89cfb72c8 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -24,6 +24,9 @@ #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #include "urldata.h" #include <curl/curl.h> #include "http_proxy.h" |