diff --git a/coreapi/linphone_proxy_config.h b/coreapi/linphone_proxy_config.h index f28de3df7..a613646a5 100644 --- a/coreapi/linphone_proxy_config.h +++ b/coreapi/linphone_proxy_config.h @@ -526,7 +526,7 @@ LINPHONE_PUBLIC void linphone_proxy_config_set_custom_header(LinphoneProxyConfig * @param[in] cfg #LinphoneProxyConfig object. * @return a #LinphoneAuthInfo matching proxy config criteria if possible, NULL if nothing can be found. **/ -LINPHONE_PUBLIC const struct _LinphoneAuthInfo* linphone_proxy_config_find_auth_info(const LinphoneProxyConfig *cfg); +LINPHONE_PUBLIC const LinphoneAuthInfo* linphone_proxy_config_find_auth_info(const LinphoneProxyConfig *cfg); /** * @} diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index 0fb78538e..b23c305a2 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -1047,8 +1047,6 @@ LINPHONE_PUBLIC const char *linphone_registration_state_to_string(LinphoneRegist * @} */ -#include "linphone_proxy_config.h" - /** * @addtogroup authentication * @{ @@ -1205,9 +1203,11 @@ LINPHONE_PUBLIC LinphoneAuthInfo * linphone_auth_info_new_from_config_file(LpCon #ifdef IN_LINPHONE #include "account_creator.h" #include "friendlist.h" +#include "linphone_proxy_config.h" #else #include "linphone/account_creator.h" #include "linphone/friendlist.h" +#include "linphone/linphone_proxy_config.h" #endif