fix sun studio build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6250 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-11-13 23:12:34 +00:00
parent 94b04a0e17
commit 36522568cd
2 changed files with 4 additions and 3 deletions

View File

@ -13,8 +13,9 @@ OPENMRCP_LIBS=$(OPENMRCP_DIR)/platform/openmrcpclient/.libs/libopenmrcpclient.a
MRCP_APR_INCLUDES = -I../../../../libs/apr/include
MRCP_APU_INCLUDES = -I../../../../libs/apr-util/include
LOCAL_CFLAGS= -Wno-unused
LOCAL_CFLAGS+= -Wno-comment -Wno-sign-compare $(OPENMRCP_INCLUDE) $(MRCP_APR_INCLUDES) $(MRCP_APU_INCLUDES)
#do not specify gcc specific compiler flags
#LOCAL_CFLAGS= -Wno-unused -Wno-comment -Wno-sign-compare
LOCAL_CFLAGS= $(OPENMRCP_INCLUDE) $(MRCP_APR_INCLUDES) $(MRCP_APU_INCLUDES)
LOCAL_LIBADD=$(OPENMRCP_LIBS)

View File

@ -56,6 +56,7 @@
#pragma warning (disable:188)
#endif
#include <switch.h>
#include "openmrcp_client.h"
#include "mrcp_client_context.h"
@ -63,7 +64,6 @@
#include "mrcp_synthesizer.h"
#include "mrcp_generic_header.h"
#include <switch.h>
SWITCH_MODULE_LOAD_FUNCTION(mod_openmrcp_load);
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_openmrcp_shutdown);