diff --git a/src/common/webrequest_curl.cpp b/src/common/webrequest_curl.cpp index e9e2a135f3..e6e47e567c 100644 --- a/src/common/webrequest_curl.cpp +++ b/src/common/webrequest_curl.cpp @@ -37,6 +37,11 @@ #define wxCURL_HAVE_MULTI_WAIT 0 #endif +// The new name was introduced in curl 7.21.6. +#ifndef CURLOPT_ACCEPT_ENCODING + #define CURLOPT_ACCEPT_ENCODING CURLOPT_ENCODING +#endif + // // wxWebResponseCURL //