summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-12 14:06:32 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-12 20:47:38 +0100
commit0a6f50c0afdfc434b492493bd9efab20cbee8623 (patch)
tree46f6a16167472de91b2773685cf9506f0576e493 /src/core
parentc1ff5570f4a04bb9aedea444c12dce81679224ec (diff)
include <poll.h> instead of <sys/poll.h>
include-what-you-use automatically does this and it makes finding unnecessary harder to spot. The only content of poll.h is a include of sys/poll.h so should be harmless.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c2
-rw-r--r--src/core/manager.c2
-rw-r--r--src/core/unit.c2
3 files changed, 3 insertions, 3 deletions
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>