aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-includes.patch
blob: 810602607e5c4bbcb84e54fea1d7300f9c65b2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- asterisk-11.7.0.orig/main/ast_expr2.c
+++ asterisk-11.7.0/main/ast_expr2.c
@@ -93,6 +93,7 @@
 
 #include "asterisk.h"
 
+#include <sys/cdefs.h>
 #include <sys/types.h>
 #include <stdio.h>
 
--- asterisk-11.7.0.orig/main/ast_expr2.y
+++ asterisk-11.7.0/main/ast_expr2.y
@@ -14,6 +14,7 @@
 
 #include "asterisk.h"
 
+#include <sys/cdefs.h>
 #include <sys/types.h>
 #include <stdio.h>
 
--- asterisk-12.1.0.orig/include/asterisk/compat.h
+++ asterisk-12.1.0/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
--- asterisk-12.1.0.orig/include/asterisk/poll-compat.h
+++ asterisk-12.1.0/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)