From: Dan Fandrich Date: Thu, 21 Apr 2011 21:47:07 +0000 (-0700) Subject: Include unistd.h to declare close() X-Git-Tag: curl-7_21_6~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17df5d8caa1009c5ca168fc9643dc9d77c219832;p=thirdparty%2Fcurl.git Include unistd.h to declare close() --- diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 99f3f0a709..89cfb72c83 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"