aports/main/asterisk/musl-includes.patch
Timo Teräs 4ec760f2ed main/asterisk: upgrade to 12.1.0
ASTERISK-19109, rebased against 12.x (untested)
ASTERISK-19499, cherry picked from upstream
2014-03-04 14:02:18 +00:00

43 lines
871 B
Diff

--- 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)