aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index bcfd3835d..a8549a7d8 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -176,7 +176,7 @@
* When http is disabled rtsp is not supported.
*/
-#ifdef CURL_DISABLE_HTTP
+#if defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_RTSP)
# define CURL_DISABLE_RTSP
#endif