diff options
-rw-r--r-- | include/asterisk/compat.h | 2 | ||||
-rw-r--r-- | include/asterisk/poll-compat.h | 2 | ||||
-rw-r--r-- | main/ast_expr2.c | 1 | ||||
-rw-r--r-- | main/ast_expr2.y | 1 |
4 files changed, 4 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) diff --git a/main/ast_expr2.c b/main/ast_expr2.c index 798e3d3ce..a9e4eff44 100644 --- a/main/ast_expr2.c +++ b/main/ast_expr2.c @@ -93,6 +93,7 @@ #include "asterisk.h" +#include <sys/cdefs.h> #include <sys/types.h> #include <stdio.h> diff --git a/main/ast_expr2.y b/main/ast_expr2.y index 83d3effe3..869dfe9ea 100644 --- a/main/ast_expr2.y +++ b/main/ast_expr2.y @@ -14,6 +14,7 @@ #include "asterisk.h" +#include <sys/cdefs.h> #include <sys/types.h> #include <stdio.h> |