From 9c5a0b814b9fa6f7348cb7fbfdd0bc1204e72b77 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 --- main/ast_expr2.c | 1 + main/ast_expr2.y | 1 + 2 files changed, 2 insertions(+) (limited to 'main') diff --git a/main/ast_expr2.c b/main/ast_expr2.c index 798e3d3ce..a9e4eff44 100644 --- a/main/ast_expr2.c +++ b/main/ast_expr2.c @@ -93,6 +93,7 @@ #include "asterisk.h" +#include #include #include diff --git a/main/ast_expr2.y b/main/ast_expr2.y index 83d3effe3..869dfe9ea 100644 --- a/main/ast_expr2.y +++ b/main/ast_expr2.y @@ -14,6 +14,7 @@ #include "asterisk.h" +#include #include #include -- cgit v1.2.3