diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:03:08 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:03:08 +0000 |
commit | 27bf9c6fe7e22d3fa99f70b891ff0240ea0a144b (patch) | |
tree | 16b8b8bc9f1a10a83dcf73e1ff4f8ec79cdcc34c /channels | |
parent | 295254337cafa5906980768e11c7623234858740 (diff) |
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/branches/1.4@74572 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 2e6d89bc2..ae2b8aba2 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> |