Fix includes when using LinphoneFriendList from outside of liblinphone.

This commit is contained in:
Ghislain MARY 2015-12-28 16:08:11 +01:00
parent e5d8b5a9a2
commit b9bfbb3df9
2 changed files with 7 additions and 0 deletions

View file

@ -22,8 +22,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define LINPHONE_FRIENDLIST_H_
#ifdef IN_LINPHONE
#include "linphonefriend.h"
#include "linphonepresence.h"
#else
#include "linphone/linphonefriend.h"
#include "linphone/linphonepresence.h"
#endif
#ifdef __cplusplus

View file

@ -1190,8 +1190,10 @@ LINPHONE_PUBLIC LinphoneAuthInfo * linphone_auth_info_new_from_config_file(LpCon
#ifdef IN_LINPHONE
#include "account_creator.h"
#include "friendlist.h"
#else
#include "linphone/account_creator.h"
#include "linphone/friendlist.h"
#endif