summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-06-08 16:18:34 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-06-08 16:18:34 -0500
commitf8348521370daa30f7e40868bcb1d8825332bb8a (patch)
tree120c3c27620734e2c961b78bc18abc9744eee956 /include
parentc9b873add8054ea18349cef972b1b12176e48807 (diff)
parent9c5a0b814b9fa6f7348cb7fbfdd0bc1204e72b77 (diff)
Merge "Fix #include poll.h and sys/cdefs.h" into 13
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 c9c99c150..c7bc5b093 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -68,7 +68,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)