From: Russell Bryant Date: Mon, 26 Feb 2007 00:34:31 +0000 (+0000) Subject: Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that X-Git-Tag: 1.2.16~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e64cf06e5aa18750f2d1cde8446d888fbd58b24;p=thirdparty%2Fasterisk.git Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that the implementations will be properly included when the AST_INLINE_API functions are not going to be inlined. (issue #9124, festr) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56729 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils.c b/utils.c index 321f9113ab..7dc020c830 100644 --- a/utils.c +++ b/utils.c @@ -39,7 +39,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") +#define AST_API_MODULE #include "asterisk/lock.h" + #include "asterisk/io.h" #include "asterisk/logger.h" #include "asterisk/md5.h"