summaryrefslogtreecommitdiff
path: root/src/udev
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/udev
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/udev')
-rw-r--r--src/udev/udev-ctrl.c2
-rw-r--r--src/udev/udev-event.c2
-rw-r--r--src/udev/udevadm-settle.c2
-rw-r--r--src/udev/udevadm-test-builtin.c2
-rw-r--r--src/udev/udevd.c2
5 files changed, 5 insertions, 5 deletions
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>