summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-03-25 01:42:10 +0000
committerRussell Bryant <russell@russellbryant.com>2009-03-25 01:42:10 +0000
commit08f561f1960c2682764f278e9364c4951a4e2de1 (patch)
treedbe1515e4559fb1615977759bcb3e86a342d5e29 /include/asterisk/compat.h
parenta7028f2bc615f10fbbfc0ed3f99c3af3fdf5020f (diff)
Fix build issues on Mac OSX.
(closes issue #14714) Reported by: ygor git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 572bb145b..519c71e68 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -67,7 +67,7 @@
#include <string.h>
#endif
-#ifdef HAVE_SYS_POLL_H
+#ifndef AST_POLL_COMPAT
#include <sys/poll.h>
#else
#include "asterisk/poll-compat.h"