summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/http.h b/http.h
index 9ca16acec2..6e12e41688 100644
--- a/http.h
+++ b/http.h
@@ -22,6 +22,10 @@
#define NO_CURL_EASY_DUPHANDLE
#endif
+#if LIBCURL_VERSION_NUM < 0x070a03
+#define CURLE_HTTP_RETURNED_ERROR CURLE_HTTP_NOT_FOUND
+#endif
+
struct slot_results
{
CURLcode curl_result;