]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Fix usage of poll.h header
authorIsmael Luceno <ismael@iodev.co.uk>
Sat, 18 May 2024 22:39:44 +0000 (00:39 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 23 May 2024 16:27:55 +0000 (09:27 -0700)
Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/arpd.c
misc/ifstat.c
misc/nstat.c
misc/rtacct.c

index 65ac6a3828e60df4a528bd7aac5f3c08920b2b9a..3185620f7a748b04083cbaa2b86e384e74bd1d5a 100644 (file)
@@ -14,7 +14,7 @@
 #include <netdb.h>
 #include <db_185.h>
 #include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/uio.h>
index 9b93ded32a61d3abaeb0e15598fe595564ab8792..faebe938e59891497710910e1b96d41419978967 100644 (file)
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
index 07d010dec35fe4e6c28c70e4c3eb0abd716d6d13..fce3e9c1ec792a2e7f163c3668cfd7d2bc2a979f 100644 (file)
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
index 08363bfd4f2621a8bf6b411640e88972f4d94a05..cd84b7f06b9b73470981d4c03fd5457c00b540f9 100644 (file)
@@ -16,7 +16,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/mman.h>