diff options
-rw-r--r-- | lib/rtsp.c | 4 | ||||
-rw-r--r-- | lib/rtsp.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index 151ff4af2..e9ee2b36b 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -22,7 +22,7 @@ #include "curl_setup.h" -#ifndef CURL_DISABLE_RTSP +#if !defined(CURL_DISABLE_RTSP) && !defined(USE_HYPER) #include "urldata.h" #include <curl/curl.h> @@ -826,4 +826,4 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn, return CURLE_OK; } -#endif /* CURL_DISABLE_RTSP */ +#endif /* CURL_DISABLE_RTSP or using Hyper */ diff --git a/lib/rtsp.h b/lib/rtsp.h index bf7f0bc8e..76ed28b4c 100644 --- a/lib/rtsp.h +++ b/lib/rtsp.h @@ -21,6 +21,10 @@ * KIND, either express or implied. * ***************************************************************************/ +#ifdef USE_HYPER +#define CURL_DISABLE_RTSP +#endif + #ifndef CURL_DISABLE_RTSP extern const struct Curl_handler Curl_handler_rtsp; |