diff options
author | Joshua Colp <jcolp@digium.com> | 2007-07-11 17:06:54 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-07-11 17:06:54 +0000 |
commit | 2d3f9ce25b77693dcc4c28cb7e6bd24b14593276 (patch) | |
tree | e885d24ef7a00b25f4d48387126f38edda508154 /channels/chan_phone.c | |
parent | deb98f98a0889075f16343cd08dfb99854b9bb4e (diff) |
Merged revisions 74572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74572 | file | 2007-07-11 14:03:08 -0300 (Wed, 11 Jul 2007) | 2 lines
Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_phone.c')
-rw-r--r-- | channels/chan_phone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 91feea175..4a4629009 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -45,6 +45,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <fcntl.h> #include <sys/ioctl.h> #include <signal.h> +#ifdef HAVE_LINUX_COMPILER_H +#include <linux/compiler.h> +#endif #include <linux/telephony.h> /* Still use some IXJ specific stuff */ #include <linux/version.h> |