[PATCH 4/7] Consistently include <poll.h> instead of <sys/poll.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<poll.h> is the header specified by POSIX.

Signed-off-by: Felix Janda <felix.janda@xxxxxxxxx>
---
 src/rtime.c   | 2 +-
 src/svc_run.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rtime.c b/src/rtime.c
index b642840..32ab9f0 100644
--- a/src/rtime.c
+++ b/src/rtime.c
@@ -46,7 +46,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <netinet/in.h>
diff --git a/src/svc_run.c b/src/svc_run.c
index f40314b..7123d51 100644
--- a/src/svc_run.c
+++ b/src/svc_run.c
@@ -37,7 +37,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 
 
 #include <rpc/rpc.h>
-- 
2.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux