fix to compile chan_phone with 2.6 kernel headers (bug #2831)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-11-12 14:13:57 +00:00
parent ac659af3ea
commit c6938534bd

View File

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