2016-04-17 09:11:15

by Felix Janda

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

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

Signed-off-by: Felix Janda <[email protected]>
---
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