Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5AD3BD1EE for ; Sat, 1 Dec 2012 22:49:43 +0000 (UTC) Received: (qmail 72009 invoked by uid 500); 1 Dec 2012 22:49:43 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 71967 invoked by uid 500); 1 Dec 2012 22:49:43 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 71959 invoked by uid 99); 1 Dec 2012 22:49:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2012 22:49:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0B26E816B7C; Sat, 1 Dec 2012 22:49:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dch@apache.org To: commits@couchdb.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: Make dependency on unistd.h specific to HAVE_CURL instead in the whole file Message-Id: <20121201224943.0B26E816B7C@tyr.zones.apache.org> Date: Sat, 1 Dec 2012 22:49:43 +0000 (UTC) Updated Branches: refs/heads/master cdfdda231 -> fb670f571 Make dependency on unistd.h specific to HAVE_CURL instead in the whole file - introduced in COUCHDB-1338 - allows building cleanly on Windows without cURL Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fb670f57 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fb670f57 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fb670f57 Branch: refs/heads/master Commit: fb670f5712c08c90b5bd93028c7df39c18fb9656 Parents: cdfdda2 Author: Dave Cottlehuber Authored: Sat Dec 1 22:32:52 2012 +0100 Committer: Dave Cottlehuber Committed: Sat Dec 1 23:49:23 2012 +0100 ---------------------------------------------------------------------- src/couchdb/priv/couch_js/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/fb670f57/src/couchdb/priv/couch_js/http.c ---------------------------------------------------------------------- diff --git a/src/couchdb/priv/couch_js/http.c b/src/couchdb/priv/couch_js/http.c index e8cd789..c66b5da 100644 --- a/src/couchdb/priv/couch_js/http.c +++ b/src/couchdb/priv/couch_js/http.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include "config.h" #include "utf8.h" @@ -84,6 +83,7 @@ http_uri(JSContext* cx, JSObject* req, couch_args* args, jsval* uri_val) #else #include +#include void