diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 95431b1f9..7cbb5b955 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3150,7 +3150,7 @@ int linphone_core_start_update_call(LinphoneCore *lc, LinphoneCall *call){ **/ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const LinphoneCallParams *params){ int err=0; -#ifdef VIDEO_ENABLED +#if defined(VIDEO_ENABLED) && defined(BUILD_UPNP) bool_t has_video = FALSE; #endif