Fix cdr.h ordering issue (bug #4401)
authorMark Spencer <markster@digium.com>
Mon, 30 May 2005 14:30:47 +0000 (14:30 +0000)
committerMark Spencer <markster@digium.com>
Mon, 30 May 2005 14:30:47 +0000 (14:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/cdr.h

index 1e0c9a7..73734d1 100755 (executable)
@@ -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);