diff options
Diffstat (limited to 'include/asterisk/io.h')
-rwxr-xr-x | include/asterisk/io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/io.h b/include/asterisk/io.h index 4b49d7274..56fdd8aeb 100755 --- a/include/asterisk/io.h +++ b/include/asterisk/io.h @@ -14,7 +14,11 @@ #ifndef _IO_H #define _IO_H +#ifdef __APPLE__ +#include <asterisk/poll-compat.h> +#else #include <sys/poll.h> /* For POLL* constants */ +#endif #if defined(__cplusplus) || defined(c_plusplus) extern "C" { |