Include unistd.h to declare close()

This commit is contained in:
Dan Fandrich
2011-04-21 14:47:07 -07:00
parent 210278d9a1
commit 17df5d8caa

View File

@@ -24,6 +24,9 @@
#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP) #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "urldata.h" #include "urldata.h"
#include <curl/curl.h> #include <curl/curl.h>
#include "http_proxy.h" #include "http_proxy.h"