aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 16:27:39 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 16:27:39 +0000
commitb80981fc9e4855f4371252becbe316b5f282178c (patch)
tree10a695617fbaab6648dcfe40100af22686dec969 /utils
parente6b7d0ae08023962ea56f193289598995a24f75c (diff)
Ensure that the object code for ast_atomic_fetchadd_int() gets included in the
check_expr binary when building with LOW_MEMORY defined. (reported by Brian Capouch on the asterisk-dev list, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/check_expr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c
index db7877539..3eeff07eb 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -29,8 +29,13 @@ struct ast_channel
#include <../include/asterisk/compat.h>
#include <../include/asterisk/ast_expr.h>
+
#define AST_API_MODULE 1
#include "asterisk/inline_api.h"
+
+#define AST_API_MODULE 1
+#include "asterisk/lock.h"
+
#include "asterisk/strings.h"
/* I included this from utils.c, so as not to have everything in that .c