summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
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"