* [PATCH 4/7] Consistently include <poll.h> instead of <sys/poll.h>
@ 2016-04-17 9:10 Felix Janda
0 siblings, 0 replies; only message in thread
From: Felix Janda @ 2016-04-17 9:10 UTC (permalink / raw)
To: libtirpc-devel; +Cc: linux-nfs
<poll.h> is the header specified by POSIX.
Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-17 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-17 9:10 [PATCH 4/7] Consistently include <poll.h> instead of <sys/poll.h> Felix Janda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).