diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 65257d5079..84bf508c51 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -38,8 +38,10 @@ /* Still use some IXJ specific stuff */ #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) # include #endif +#endif #include #include "asterisk.h"