From c1c4a6dd7f5f08cd801a323f1473d1a92543e336 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sat, 29 Aug 2015 14:47:59 +0300 Subject: Change from sys/poll.h to standard poll.h location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to "man 2 poll" the correct header to include is poll.h, not sys/poll.h. Reported by a build against musl. Change-Id: I5298b49dc947d1a368e423104c0c0c7b9bdd1a10 Signed-off-by: Paul Fertser Signed-off-by: Andreas Färber Reviewed-on: http://openocd.zylin.com/2947 Tested-by: jenkins --- src/helper/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helper') diff --git a/src/helper/system.h b/src/helper/system.h index f710cfb..a6dfd7e 100644 --- a/src/helper/system.h +++ b/src/helper/system.h @@ -56,8 +56,8 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif -#ifdef HAVE_SYS_POLL_H -#include +#ifdef HAVE_POLL_H +#include #endif #ifdef __ECOS -- cgit v1.1