diff options
32 files changed, 32 insertions, 32 deletions
diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index aaf53b93c7..3a38f733ab 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -291,7 +291,7 @@ int main(int argc, char *argv[]) { example lacks all error checking for the sake of simplicity):</para> - <programlisting>#include <sys/poll.h> + <programlisting>#include <poll.h> #include <systemd/sd-journal.h> int wait_for_changes(sd_journal *j) { diff --git a/src/ask-password/ask-password.c b/src/ask-password/ask-password.c index 1ce8776d8a..ad8ad659d2 100644 --- a/src/ask-password/ask-password.c +++ b/src/ask-password/ask-password.c @@ -20,7 +20,7 @@ ***/ #include <sys/socket.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/types.h> #include <assert.h> #include <string.h> diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 8cc4412034..e07761aeb9 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -29,7 +29,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/prctl.h> #include <stddef.h> #include <getopt.h> diff --git a/src/bus-proxyd/proxy.c b/src/bus-proxyd/proxy.c index bd02ee12b3..2a3de70958 100644 --- a/src/bus-proxyd/proxy.c +++ b/src/bus-proxyd/proxy.c @@ -29,7 +29,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <stddef.h> #include <getopt.h> diff --git a/src/bus-proxyd/stdio-bridge.c b/src/bus-proxyd/stdio-bridge.c index 6fb83033d9..434a989bfc 100644 --- a/src/bus-proxyd/stdio-bridge.c +++ b/src/bus-proxyd/stdio-bridge.c @@ -28,7 +28,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <stddef.h> #include <getopt.h> diff --git a/src/bus-proxyd/test-bus-xml-policy.c b/src/bus-proxyd/test-bus-xml-policy.c index 4b07747e1e..421487e038 100644 --- a/src/bus-proxyd/test-bus-xml-policy.c +++ b/src/bus-proxyd/test-bus-xml-policy.c @@ -26,7 +26,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <stddef.h> #include <getopt.h> diff --git a/src/core/execute.c b/src/core/execute.c index 340b8000d4..2c23db0901 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -37,7 +37,7 @@ #include <sys/mount.h> #include <linux/fs.h> #include <linux/oom.h> -#include <sys/poll.h> +#include <poll.h> #include <glob.h> #include <sys/personality.h> diff --git a/src/core/manager.c b/src/core/manager.c index 5fba0043e4..4775219e4a 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -27,7 +27,7 @@ #include <unistd.h> #include <sys/inotify.h> #include <sys/epoll.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/reboot.h> #include <sys/ioctl.h> #include <linux/kd.h> diff --git a/src/core/unit.c b/src/core/unit.c index 514b6491ce..ee8e607c27 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -24,7 +24,7 @@ #include <string.h> #include <sys/epoll.h> #include <sys/timerfd.h> -#include <sys/poll.h> +#include <poll.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c index d7cd4ba29f..7a6a383b32 100644 --- a/src/initctl/initctl.c +++ b/src/initctl/initctl.c @@ -27,7 +27,7 @@ #include <stdio.h> #include <errno.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/epoll.h> #include <sys/un.h> #include <fcntl.h> diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index ecf47fda3d..94891cdf35 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -24,7 +24,7 @@ #include <stddef.h> #include <unistd.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/vfs.h> #include <linux/magic.h> diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c index d3eb834810..52883fa8cd 100644 --- a/src/libsystemd/sd-bus/bus-socket.c +++ b/src/libsystemd/sd-bus/bus-socket.c @@ -23,7 +23,7 @@ #include <assert.h> #include <stdlib.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include <byteswap.h> #include "util.h" diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 1bf77e46fb..cac9b65601 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -24,7 +24,7 @@ #include <stdlib.h> #include <unistd.h> #include <netdb.h> -#include <sys/poll.h> +#include <poll.h> #include <byteswap.h> #include <sys/mman.h> #include <pthread.h> diff --git a/src/libsystemd/sd-login/sd-login.c b/src/libsystemd/sd-login/sd-login.c index c171405a65..f71749f72d 100644 --- a/src/libsystemd/sd-login/sd-login.c +++ b/src/libsystemd/sd-login/sd-login.c @@ -23,7 +23,7 @@ #include <string.h> #include <errno.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include "util.h" #include "cgroup-util.h" diff --git a/src/libsystemd/sd-login/test-login.c b/src/libsystemd/sd-login/test-login.c index 28f88a1570..2802e8246d 100644 --- a/src/libsystemd/sd-login/test-login.c +++ b/src/libsystemd/sd-login/test-login.c @@ -19,7 +19,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sys/poll.h> +#include <poll.h> #include <string.h> #include "systemd/sd-login.h" diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c index c735cac3b1..c4713feb5d 100644 --- a/src/libsystemd/sd-network/sd-network.c +++ b/src/libsystemd/sd-network/sd-network.c @@ -24,7 +24,7 @@ #include <string.h> #include <errno.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include <net/if.h> #include "util.h" diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c index fea695fcf9..6448280c4f 100644 --- a/src/libsystemd/sd-resolve/sd-resolve.c +++ b/src/libsystemd/sd-resolve/sd-resolve.c @@ -40,7 +40,7 @@ #include <stdint.h> #include <pthread.h> #include <sys/prctl.h> -#include <sys/poll.h> +#include <poll.h> #include "util.h" #include "list.h" diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index 08ddde8fd7..3f1fee7f7e 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -24,7 +24,7 @@ #include <errno.h> #include <string.h> #include <dirent.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/un.h> diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c index 54683b6f4a..abf5f525dd 100644 --- a/src/reply-password/reply-password.c +++ b/src/reply-password/reply-password.c @@ -20,7 +20,7 @@ ***/ #include <sys/socket.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/types.h> #include <assert.h> #include <string.h> diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 890cc04941..b5ad701611 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -23,7 +23,7 @@ #include <resolv.h> #include <net/if.h> #include <sys/ioctl.h> -#include <sys/poll.h> +#include <poll.h> #include <netinet/in.h> #include "rtnl-util.h" diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c index d6589a67f6..0a61dafc59 100644 --- a/src/shared/ask-password-api.c +++ b/src/shared/ask-password-api.c @@ -21,7 +21,7 @@ #include <stdbool.h> #include <termios.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/inotify.h> #include <errno.h> #include <fcntl.h> diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 45741f9e9d..c2495056d7 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -22,7 +22,7 @@ #include <time.h> #include <assert.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/socket.h> #include <string.h> #include <fcntl.h> diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index 006ad532ba..8f259a8f39 100644 --- a/src/shared/spawn-polkit-agent.c +++ b/src/shared/spawn-polkit-agent.c @@ -27,7 +27,7 @@ #include <signal.h> #include <fcntl.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include "log.h" #include "util.h" diff --git a/src/shared/util.c b/src/shared/util.c index f5fcebebe7..3a63351247 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -39,7 +39,7 @@ #include <linux/tiocl.h> #include <termios.h> #include <stdarg.h> -#include <sys/poll.h> +#include <poll.h> #include <ctype.h> #include <sys/prctl.h> #include <sys/utsname.h> diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index 31f13ec808..bdb962af34 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -26,7 +26,7 @@ #include <sys/utsname.h> #include <fcntl.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include "macro.h" #include "path-util.h" diff --git a/src/shutdownd/shutdownd.c b/src/shutdownd/shutdownd.c index 826efbfeab..701882b96d 100644 --- a/src/shutdownd/shutdownd.c +++ b/src/shutdownd/shutdownd.c @@ -20,7 +20,7 @@ ***/ #include <sys/socket.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/types.h> #include <sys/timerfd.h> #include <assert.h> diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index bdf651246b..47093b850d 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -25,7 +25,7 @@ #include <sys/socket.h> #include <sys/un.h> #include <stddef.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/inotify.h> #include <unistd.h> #include <getopt.h> diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index 538b342865..7b5ef6b2a8 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -16,7 +16,7 @@ #include <string.h> #include <unistd.h> #include <sys/types.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/socket.h> #include <sys/un.h> diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index a8dd462d6d..bc115f112d 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -26,7 +26,7 @@ #include <time.h> #include <net/if.h> #include <sys/prctl.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/epoll.h> #include <sys/wait.h> #include <sys/signalfd.h> diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index 6bcb3a985e..fff5de7a8b 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -28,7 +28,7 @@ #include <getopt.h> #include <signal.h> #include <time.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/stat.h> #include <sys/types.h> diff --git a/src/udev/udevadm-test-builtin.c b/src/udev/udevadm-test-builtin.c index b2a7376292..baaeca9352 100644 --- a/src/udev/udevadm-test-builtin.c +++ b/src/udev/udevadm-test-builtin.c @@ -27,7 +27,7 @@ #include <signal.h> #include <time.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/stat.h> #include <sys/types.h> diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 009e2fed75..99d4c8983a 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -39,7 +39,7 @@ #include <sys/signalfd.h> #include <sys/epoll.h> #include <sys/mount.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/ioctl.h> |