summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c2
-rw-r--r--src/shared/logs-show.c2
-rw-r--r--src/shared/spawn-polkit-agent.c2
-rw-r--r--src/shared/util.c2
-rw-r--r--src/shared/utmp-wtmp.c2
5 files changed, 5 insertions, 5 deletions
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"