From 9c1d95e87358b17aec9fbb0a13c31b7bb9350450 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Thu, 2 Jun 2016 22:53:39 +0300 Subject: Fix #include poll.h and sys/cdefs.h POSIX defines poll.h, sys/poll.h should not be used at is c-library internal header which may or may not exist. Notable in musl it generates warning of being incorrect. And add explict include of sys/cdefs.h where needed. Change-Id: I142930df53fe7585a06b854b6faddc5301e024be --- include/asterisk/poll-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/poll-compat.h') 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 +#include #define ast_poll(a, b, c) poll(a, b, c) -- cgit v1.2.3