1 --- a/include/asterisk/compat.h
2 +++ b/include/asterisk/compat.h
6 #ifndef AST_POLL_COMPAT
10 #include "asterisk/poll-compat.h"
12 --- a/include/asterisk/poll-compat.h
13 +++ b/include/asterisk/poll-compat.h
16 #ifndef AST_POLL_COMPAT
18 -#include <sys/poll.h>
21 #define ast_poll(a, b, c) poll(a, b, c)
23 --- a/main/ast_expr2.c
24 +++ b/main/ast_expr2.c
29 +#include <sys/cdefs.h>
30 #include <sys/types.h>
33 --- a/main/ast_expr2.y
34 +++ b/main/ast_expr2.y
39 +#include <sys/cdefs.h>
40 #include <sys/types.h>