mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 18:03:34 +00:00
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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user