mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
When we are checking for a system installed version of libgsm, we need to check
for gsm.h as well. Furthermore, when checking for this header, it may be located in a gsm/ sub directory, so check for that, as well. (issue #8773) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -50,7 +50,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/channel.h"
|
||||
#include "asterisk/utils.h"
|
||||
|
||||
#ifdef HAVE_GSM_HEADER
|
||||
#include "gsm.h"
|
||||
#elif defined(HAVE_GSM_GSM_HEADER)
|
||||
#include <gsm/gsm.h>
|
||||
#endif
|
||||
|
||||
#include "../formats/msgsm.h"
|
||||
|
||||
|
Reference in New Issue
Block a user