diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-20 08:16:53 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-20 08:16:53 +0000 |
commit | 34b781be4c88cfed380a2ad818b900665638e337 (patch) | |
tree | c83cbab5f4ed2eec57510859562b064cbf15bee0 /codecs/codec_gsm.c | |
parent | e4e135851c96f51028fbc3d9c65c99369e48aa68 (diff) |
use the system libgsm if available (issue #5434, modified to still work with builtin libgsm)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7539 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_gsm.c')
-rw-r--r-- | codecs/codec_gsm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/codecs/codec_gsm.c b/codecs/codec_gsm.c index 65800476e..b8afd3bd7 100644 --- a/codecs/codec_gsm.c +++ b/codecs/codec_gsm.c @@ -45,7 +45,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/logger.h" #include "asterisk/channel.h" +#ifdef USE_EXTERNAL_GSM_LIB +#include <gsm/gsm.h> +#else #include "gsm/inc/gsm.h" +#endif + #include "../formats/msgsm.h" /* Sample frame data */ |