mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user