diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/cdr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h index 1e0c9a7e7..73734d18d 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 <sys/time.h> #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); |