]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
authorRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 00:34:31 +0000 (00:34 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 00:34:31 +0000 (00:34 +0000)
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

utils.c

diff --git a/utils.c b/utils.c
index 321f9113ab170bc0a380e76d55408f4aab40f23d..7dc020c830bf7aaa9806d003eb1e352b95e99a39 100644 (file)
--- 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"