]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix #include poll.h and sys/cdefs.h 64/2964/1
authorTimo Teräs <timo.teras@iki.fi>
Thu, 2 Jun 2016 19:53:39 +0000 (22:53 +0300)
committerJoshua Colp <jcolp@digium.com>
Wed, 8 Jun 2016 00:01:33 +0000 (19:01 -0500)
commit1716830c5af36c46d6c599cd023d0f43074467e9
tree48f1b8b56e9bdd0a5ebd5a8a0c4160932f792319
parenteffa207bc420893d7d62e2acc674746b888d09eb
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/compat.h
include/asterisk/poll-compat.h
main/ast_expr2.c
main/ast_expr2.y