From: Mark Spencer Date: Thu, 11 Nov 2004 14:58:57 +0000 (+0000) Subject: Fix chan_phone for kernel 2.6 (bug #2831) X-Git-Tag: 1.2.0-beta1~1864 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec3dc05bf74ea1d2a4a6e768ad9150151cf379e6;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_phone.c b/channels/chan_phone.c index b81c5b04d6..12c009776d 100755 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -34,6 +34,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"