fix sofia and apr includes stomping on each other on older apr versions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13854 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-06-18 23:15:59 +00:00
parent 1778578b1e
commit 0108797fc7
2 changed files with 6 additions and 2 deletions

View File

@ -20,12 +20,14 @@ typedef struct mrcp_sofia_agent_t mrcp_sofia_agent_t;
typedef struct mrcp_sofia_session_t mrcp_sofia_session_t;
#define NUA_HMAGIC_T mrcp_sofia_session_t
#include <apr_general.h>
#include <sofia-sip/su.h>
#include <sofia-sip/nua.h>
#include <sofia-sip/sip_status.h>
#include <sofia-sip/sdp.h>
#include <sofia-sip/sofia_features.h>
#undef strcasecmp
#undef strncasecmp
#include <apr_general.h>
#include "mrcp_sofiasip_client_agent.h"
#include "mrcp_session.h"

View File

@ -20,12 +20,14 @@ typedef struct mrcp_sofia_agent_t mrcp_sofia_agent_t;
typedef struct mrcp_sofia_session_t mrcp_sofia_session_t;
#define NUA_HMAGIC_T mrcp_sofia_session_t
#include <apr_general.h>
#include <sofia-sip/su.h>
#include <sofia-sip/nua.h>
#include <sofia-sip/sip_status.h>
#include <sofia-sip/sdp.h>
#include <sofia-sip/sofia_features.h>
#undef strcasecmp
#undef strncasecmp
#include <apr_general.h>
#include "mrcp_sofiasip_server_agent.h"
#include "mrcp_session.h"