[Asterisk-cvs] asterisk/channels chan_phone.c,1.36,1.37

markster at lists.digium.com markster at lists.digium.com
Thu Nov 11 09:57:38 CST 2004


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

Modified Files:
	chan_phone.c 
Log Message:
Fix chan_phone for kernel 2.6 (bug #2831)


Index: chan_phone.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_phone.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- chan_phone.c	26 Oct 2004 22:25:43 -0000	1.36
+++ chan_phone.c	11 Nov 2004 14:58:57 -0000	1.37
@@ -34,6 +34,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