diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 16:48:05 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 16:48:05 +0000 |
commit | bff56800521eee26d75075e411cbe30bfc0d953f (patch) | |
tree | 0cd9dcef5ed0f9472788fe15e978d8c365e5d508 /channels/chan_phone.c | |
parent | 69fec4fd6f10e71fb3b18f7f7901a23037f7c60c (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.2@47379 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_phone.c')
-rw-r--r-- | channels/chan_phone.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 65257d507..84bf508c5 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -38,8 +38,10 @@ /* Still use some IXJ specific stuff */ #include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) # include <linux/compiler.h> #endif +#endif #include <linux/ixjuser.h> #include "asterisk.h" |