[Asterisk-cvs] asterisk/include/asterisk cdr.h,1.25,1.26

markster at lists.digium.com markster at lists.digium.com
Mon May 30 10:27:28 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13179/include/asterisk

Modified Files:
	cdr.h 
Log Message:
Fix cdr.h ordering issue (bug #4401)


Index: cdr.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/cdr.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- cdr.h	25 May 2005 17:18:05 -0000	1.25
+++ cdr.h	30 May 2005 14:30:47 -0000	1.26
@@ -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);
 




More information about the svn-commits mailing list