[Asterisk-cvs] asterisk/channels chan_phone.c,1.33,1.33.2.1
russell at lists.digium.com
russell at lists.digium.com
Fri Nov 12 09:12:44 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv9459/channels
Modified Files:
Tag: v1-0
chan_phone.c
Log Message:
fix to compile chan_phone with 2.6 kernel headers (bug #2831)
Index: chan_phone.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_phone.c,v
retrieving revision 1.33
retrieving revision 1.33.2.1
diff -u -d -r1.33 -r1.33.2.1
--- chan_phone.c 8 Aug 2004 17:15:02 -0000 1.33
+++ chan_phone.c 12 Nov 2004 14:13:57 -0000 1.33.2.1
@@ -33,6 +33,10 @@
#include <sys/ioctl.h>
#include <linux/telephony.h>
/* Still use some IXJ specific stuff */
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+# include <linux/compiler.h>
+#endif
#include <linux/ixjuser.h>
#include "DialTone.h"
More information about the svn-commits
mailing list