diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:06:54 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:06:54 +0000 |
commit | f0ef34826c9accbfbf3d2e0cc52a5b2ff537d7ec (patch) | |
tree | e885d24ef7a00b25f4d48387126f38edda508154 /channels/chan_phone.c | |
parent | 4ea8cdb08addc2b92d5aea746c05cf13b5da92dc (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: http://svn.digium.com/svn/asterisk/trunk@74575 f38db490-d61c-443f-a65b-d21fe96a405b
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> |