Permalink
Browse files

Include unistd.h to declare close()

  • Loading branch information...
1 parent 210278d commit 17df5d8caa1009c5ca168fc9643dc9d77c219832 @dfandrich dfandrich committed Apr 21, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/http_proxy.c
View
@@ -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"

0 comments on commit 17df5d8

Please sign in to comment.