From 06f51cc52f608c2c4bb98aad9e8cd50f5af941c3 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 9 Nov 2006 16:48:05 +0000 Subject: [PATCH] Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47379 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_phone.c | 2 ++ 1 file changed, 2 insertions(+) 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"