summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-test-builtin.c
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-08-16 06:32:36 +0200
committerAnthony G. Basile <blueness@gentoo.org>2013-08-16 18:25:37 -0400
commit10c3aa2bc759d62513ea86d4115481044e02fe47 (patch)
tree2471563689e390b92c86e246e06d5a7850208f5b /src/udev/udevadm-test-builtin.c
parent0723130022d35b496b31f1a1a1cbef3df7e64c60 (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/udevadm-test-builtin.c')
-rw-r--r--src/udev/udevadm-test-builtin.c2
1 files changed, 1 insertions, 1 deletions
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>