summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-05-30 14:30:47 +0000
committerMark Spencer <markster@digium.com>2005-05-30 14:30:47 +0000
commitaf9903eb0599cd04fa2cdaee47b998c19338b3b0 (patch)
treea999d752f5a34e57b370aad5a75549ca6787ed31 /include
parent04be319867bfb8756fe0da6fdf767dc52abc3f15 (diff)
Fix cdr.h ordering issue (bug #4401)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/cdr.h4
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);