diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-08 00:08:58 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-08 00:08:58 +0000 |
commit | 5a37d413a6b579be14f5908ae5ee17157115781f (patch) | |
tree | f06eac4461413ecd0752f2fe891b5ce4cd391eb4 /include/asterisk/channel.h | |
parent | 2459d115d091b530d554f8291797bb0a3bcdb208 (diff) |
fix build for Mac OSX (bug #2803)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4179 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-x | include/asterisk/channel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 75627cda7..516e3a9a8 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -19,7 +19,11 @@ #include <asterisk/chanvars.h> #include <unistd.h> #include <setjmp.h> +#if defined(__APPLE__) +#include <asterisk/poll-compat.h> +#else #include <sys/poll.h> +#endif #if defined(__cplusplus) || defined(c_plusplus) extern "C" { |