aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cdr.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-30 14:30:47 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-30 14:30:47 +0000
commit9e7424a3484608509c2377c56ee4b044cf2c299f (patch)
treea999d752f5a34e57b370aad5a75549ca6787ed31 /include/asterisk/cdr.h
parent8a1c9ce20c5900d80c34233061b82fa7aa35f182 (diff)
Fix cdr.h ordering issue (bug #4401)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5789 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cdr.h')
-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);