From: Michael Kaufmann Date: Sun, 11 Mar 2018 19:30:02 +0000 (+0100) Subject: Curl_range: fix FTP-only and FILE-only builds X-Git-Tag: curl-7_59_0~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7294e70480b72b9b351f44528aa70684f735ad08;p=thirdparty%2Fcurl.git Curl_range: fix FTP-only and FILE-only builds follow-up to e04417d --- diff --git a/lib/curl_range.c b/lib/curl_range.c index 849e12fd35..aa3c493321 100644 --- a/lib/curl_range.c +++ b/lib/curl_range.c @@ -27,7 +27,7 @@ #include "strtoofft.h" /* Only include this function if one or more of FTP, FILE are enabled. */ -#if !defined(CURL_DISABLE_FTP) && !defined(CURL_DISABLE_FILE) +#if !defined(CURL_DISABLE_FTP) || !defined(CURL_DISABLE_FILE) /* Check if this is a range download, and if so, set the internal variables