From ff0c9caa8e1e076b82241304dfd19d5b3e2a2aec Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Tue, 19 Jan 2016 22:27:28 -0500 Subject: [PATCH 017/117] tests: Include poll.h rather than sys/poll.h sys/poll.h is a non-standard location of the poll.h header, and is incorrect on non-glibc libcs. poll.h, however, is defined in SUS (v2) and is more portable. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93764 http://pubs.opengroup.org/onlinepubs/007908799/xsh/poll.h.html Signed-off-by: Emil Velikov --- tests/modetest/modetest.c | 2 +- tests/vbltest/vbltest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index b8aa94b..a5ac5bd 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -53,7 +53,7 @@ #include #include #include -#include +#include #include #ifdef HAVE_SYS_SELECT_H #include diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c index 97dd44d..3f6b803 100644 --- a/tests/vbltest/vbltest.c +++ b/tests/vbltest/vbltest.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #ifdef HAVE_SYS_SELECT_H #include -- 2.7.4