Fix chan_phone for kernel 2.6 (bug #2831)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-11-11 14:58:57 +00:00
parent 53d9aa13eb
commit ec3dc05bf7
1 changed files with 4 additions and 0 deletions

View File

@ -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"