diff options
author | rofl0r <retnyg@gmx.net> | 2013-08-16 06:32:36 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-08-16 18:25:37 -0400 |
commit | 10c3aa2bc759d62513ea86d4115481044e02fe47 (patch) | |
tree | 2471563689e390b92c86e246e06d5a7850208f5b | |
parent | 0723130022d35b496b31f1a1a1cbef3df7e64c60 (diff) |
fix usage of glibc-specific sys/poll.h
sys/poll.h is a legacy alias used by glibc.
according to POSIX #include <poll.h> is correct.
on GLIBC, the POSIX header includes sys/poll.h, so everything
continues working as it should.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/libudev/libudev-monitor.c | 2 | ||||
-rw-r--r-- | src/libudev/util.c | 2 | ||||
-rw-r--r-- | src/udev/udev-ctrl.c | 2 | ||||
-rw-r--r-- | src/udev/udev-event.c | 2 | ||||
-rw-r--r-- | src/udev/udevadm-settle.c | 2 | ||||
-rw-r--r-- | src/udev/udevadm-test-builtin.c | 2 | ||||
-rw-r--r-- | src/udev/udevd.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index 0212792552..7833e75080 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/libudev/util.c b/src/libudev/util.c index ad16df83dd..d2adf042ce 100644 --- a/src/libudev/util.c +++ b/src/libudev/util.c @@ -40,7 +40,7 @@ #include <termios.h> #include <stdarg.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include <libgen.h> #include <ctype.h> #include <sys/prctl.h> diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index b71494ea15..5a328f2349 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -17,7 +17,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 0779ebc30b..11ce364c40 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -27,7 +27,7 @@ #include <net/if.h> #include <sys/ioctl.h> #include <sys/prctl.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/epoll.h> #include <sys/wait.h> #include <sys/socket.h> diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index dd833fb6db..ed4128a2b2 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -30,7 +30,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/udevadm-test-builtin.c b/src/udev/udevadm-test-builtin.c index f4aa21ee72..a02efe5ac3 100644 --- a/src/udev/udevadm-test-builtin.c +++ b/src/udev/udevadm-test-builtin.c @@ -28,7 +28,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 a41c196991..8394db6454 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -37,7 +37,7 @@ #include <sys/un.h> #include <sys/signalfd.h> #include <sys/epoll.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/ioctl.h> |