summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-06-08 14:43:13 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-06-08 14:43:13 -0500
commit7bcccd4db3cc271081f2c9eb0d6d1e654ebffc98 (patch)
treeb41b525454b86f7caa5f88056eb54fca58e9ea50 /include
parent5164e1fd859fcd884a4b9edef7cde3b6e1efc87a (diff)
parent9c1d95e87358b17aec9fbb0a13c31b7bb9350450 (diff)
Merge "Fix #include poll.h and sys/cdefs.h"
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/compat.h2
-rw-r--r--include/asterisk/poll-compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 3eb6c96a2..252ce914a 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -70,7 +70,7 @@
#endif
#ifndef AST_POLL_COMPAT
-#include <sys/poll.h>
+#include <poll.h>
#else
#include "asterisk/poll-compat.h"
#endif
diff --git a/include/asterisk/poll-compat.h b/include/asterisk/poll-compat.h
index cbb610925..72ac2c3e2 100644
--- a/include/asterisk/poll-compat.h
+++ b/include/asterisk/poll-compat.h
@@ -83,7 +83,7 @@
#ifndef AST_POLL_COMPAT
-#include <sys/poll.h>
+#include <poll.h>
#define ast_poll(a, b, c) poll(a, b, c)