From: Felix Janda <felix.janda@posteo.de>
To: libtirpc-devel@lists.sourceforge.net
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 4/7] Consistently include <poll.h> instead of <sys/poll.h>
Date: Sun, 17 Apr 2016 11:10:34 +0200 [thread overview]
Message-ID: <20160417091034.GD2737@nyan> (raw)
<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
reply other threads:[~2016-04-17 9:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160417091034.GD2737@nyan \
--to=felix.janda@posteo.de \
--cc=libtirpc-devel@lists.sourceforge.net \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).