Use POSIX-specified <poll.h> over <sys/poll.h>

POSIX specifies that <poll.h> is the correct header to include for
poll(), so let's do that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=141251
This commit is contained in:
Ryan Lortie
2013-12-22 11:33:07 -05:00
parent eeac91f866
commit 3f41e49285
6 changed files with 7 additions and 24 deletions

View File

@@ -31,11 +31,8 @@
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#endif
#ifdef HAVE_POLL_H
#ifdef HAVE_POLL
#include <poll.h>
#endif
#include <stdio.h>