diff --git a/src/auth.c b/src/auth.c index 1f37151b..a08fc063 100644 --- a/src/auth.c +++ b/src/auth.c @@ -438,7 +438,7 @@ static int get_authenticator (auth_t *auth, config_options_t *options) ICECAST_LOG_DEBUG("type is %s", auth->type); if (strcmp(auth->type, AUTH_TYPE_URL) == 0) { -#ifdef HAVE_AUTH_URL +#ifdef HAVE_CURL if (auth_get_url_auth(auth, options) < 0) return -1; break; diff --git a/src/event.c b/src/event.c index b15b537a..254998d9 100644 --- a/src/event.c +++ b/src/event.c @@ -247,7 +247,7 @@ event_registration_t * event_new_from_xml_node(xmlNodePtr node) { rv = event_get_log(ret, options); } else if (strcmp(ret->type, EVENT_TYPE_EXEC) == 0) { rv = event_get_exec(ret, options); -#ifdef HAVE_AUTH_URL +#ifdef HAVE_CURL } else if (strcmp(ret->type, EVENT_TYPE_URL) == 0) { rv = event_get_url(ret, options); #endif