tests: Include poll.h rather than sys/poll.h
authorKylie McClain <somasis@exherbo.org>
Wed, 20 Jan 2016 03:27:28 +0000 (22:27 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 26 Jan 2016 21:50:17 +0000 (21:50 +0000)
commitff0c9caa8e1e076b82241304dfd19d5b3e2a2aec
treefab06232087fa400eddce0a7930cae76c79c43cc
parent358615f416a8f3085a63c03a55564f71946083d1
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 <emil.l.velikov@gmail.com>
tests/modetest/modetest.c
tests/vbltest/vbltest.c