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"