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 /src/udev/udevd.c | |
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>
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r-- | src/udev/udevd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> |