From 17df5d8caa1009c5ca168fc9643dc9d77c219832 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 21 Apr 2011 14:47:07 -0700 Subject: Include unistd.h to declare close() --- lib/http_proxy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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 +#endif #include "urldata.h" #include #include "http_proxy.h" -- cgit v1.2.3