aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h2
-rwxr-xr-xinclude/asterisk/io.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 4e9d2b39a..67b32b1b8 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <setjmp.h>
-#if defined(__APPLE__)
+#ifdef POLLCOMPAT
#include "asterisk/poll-compat.h"
#else
#include <sys/poll.h>
diff --git a/include/asterisk/io.h b/include/asterisk/io.h
index a9be35703..8bda98a2b 100755
--- a/include/asterisk/io.h
+++ b/include/asterisk/io.h
@@ -23,7 +23,7 @@
#ifndef _ASTERISK_IO_H
#define _ASTERISK_IO_H
-#ifdef __APPLE__
+#ifdef POLLCOMPAT
#include "asterisk/poll-compat.h"
#else
#include <sys/poll.h> /* For POLL* constants */