From: Mark Spencer Date: Mon, 30 May 2005 14:30:47 +0000 (+0000) Subject: Fix cdr.h ordering issue (bug #4401) X-Git-Tag: 1.2.0-beta1~559 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af9903eb0599cd04fa2cdaee47b998c19338b3b0;p=thirdparty%2Fasterisk.git Fix cdr.h ordering issue (bug #4401) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5789 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 1e0c9a7e78..73734d18d9 100755 --- a/include/asterisk/cdr.h +++ b/include/asterisk/cdr.h @@ -17,7 +17,6 @@ #ifndef _CDR_H #define _CDR_H -#include "asterisk/channel.h" #include #define AST_CDR_FLAG_KEEP_VARS (1 << 0) #define AST_CDR_FLAG_POSTED (1 << 1) @@ -37,6 +36,9 @@ #define AST_MAX_USER_FIELD 256 #define AST_MAX_ACCOUNT_CODE 20 +/* Include channel.h after relevant declarations it will need */ +#include "asterisk/channel.h" + struct ast_channel; AST_LIST_HEAD(varshead,ast_var_t);