Fix compilation.

This commit is contained in:
Ghislain MARY 2013-10-08 15:01:25 +02:00
parent 10734524fe
commit ba0cead0ad
2 changed files with 7 additions and 5 deletions

View file

@ -30,6 +30,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "linphone/sipsetup.h"
#endif
#include "lpconfig.h"
#define LINPHONE_IPADDR_SIZE 64
#define LINPHONE_HOSTNAME_SIZE 128
@ -48,10 +50,6 @@ struct _LinphoneCore;
*/
typedef struct _LinphoneCore LinphoneCore;
struct _LpConfig;
typedef struct _LpConfig LpConfig;
/**
* Disable a sip transport

View file

@ -24,9 +24,13 @@
#ifndef LPCONFIG_H
#define LPCONFIG_H
#include "linphonecore.h" /*to get LINPHONE_PUBLIC, maybe we can include less stuff*/
#include <mediastreamer2/mscommon.h>
#include <ortp/port.h>
#ifndef LINPHONE_PUBLIC
#define LINPHONE_PUBLIC MS2_PUBLIC
#endif
/**
* The LpConfig object is used to manipulate a configuration file.
*