core: include <poll.h> instead of <sys/poll.h>
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 Jan 2017 08:18:32 +0000 (21:18 +1300)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 23 Jan 2017 10:06:41 +0000 (11:06 +0100)
commit1572d90586791f3987abb4c50dc82ff4c597bfc2
tree7cc8e74888a4be79e170f82a6ac045f03e8404a2
parent53a4cefdbe13f432f064e595ff342099b00aaeb8
core: include <poll.h> instead of <sys/poll.h>

<sys/poll.h> is an internal C library header, which shouldn't be
included directly. <poll.h> should be included instead, as advertised
in poll(2).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Bartosz: tweaked the commit message]
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c