]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
Fix poll.h includes
authorIsmael Luceno <ismael@iodev.co.uk>
Mon, 18 Jul 2022 16:43:20 +0000 (18:43 +0200)
committerIsmael Luceno <ismael@iodev.co.uk>
Fri, 22 Jul 2022 16:37:14 +0000 (18:37 +0200)
According to POSIX it's <poll.h> since before the Linux era.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
src/nvme/mi-mctp.c
src/nvme/private.h

index 36f5a6a18ebab249e74f8801eb17278cc19bf45e..ae604f22b0c930df7cec49c0a2a1454ed68ecdb2 100644 (file)
@@ -12,7 +12,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/uio.h>
index 3b3fc083c4cfc4af7505267a77fe352bc7384ce1..b5610f5ca45493104dedae86848d977b149b3b76 100644 (file)
@@ -10,7 +10,7 @@
 #define _LIBNVME_PRIVATE_H
 
 #include <ccan/list/list.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 
 #include "fabrics.h"