From 2e64cf06e5aa18750f2d1cde8446d888fbd58b24 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 26 Feb 2007 00:34:31 +0000 Subject: [PATCH] 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 --- utils.c | 2 ++ 1 file changed, 2 insertions(+) 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"