From c6938534bdb2e6cb7842031d957a1e492e8a3a25 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 12 Nov 2004 14:13:57 +0000 Subject: [PATCH] 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 --- channels/chan_phone.c | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.47.2