From: Russell Bryant Date: Fri, 12 Nov 2004 14:13:57 +0000 (+0000) Subject: fix to compile chan_phone with 2.6 kernel headers (bug #2831) X-Git-Tag: 1.0.11.1~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6938534bdb2e6cb7842031d957a1e492e8a3a25;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_phone.c b/channels/chan_phone.c index bacfaa3c48..d817776e75 100755 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -33,6 +33,10 @@ #include #include /* Still use some IXJ specific stuff */ +#include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +# include +#endif #include #include "DialTone.h"