]> git.ipfire.org Git - thirdparty/dbus.git/commit
sysdeps: use POSIX poll.h instead of sys/poll.h
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 24 Mar 2020 11:04:24 +0000 (12:04 +0100)
committerNatanael Copa <ncopa@alpinelinux.org>
Thu, 26 Mar 2020 17:17:22 +0000 (18:17 +0100)
commit3509748dce7cb1512d3a071e454505f6b232f0a5
tree5ba56e782137f6cf2687495408bf7aea8cfde1db
parent07ba6c0a40a7773fd3f63a13f6aeaa13876c9d19
sysdeps: use POSIX poll.h instead of sys/poll.h

POSIX.1-2001 and POSIX.1-2008 specifies include <poll.h> so use that
rather than the non-standard/legacy include <sys/poll.h>.

This fixes the following warnings when building with musl libc:

    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
cmake/ConfigureChecks.cmake
cmake/config.h.cmake
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps.h