diff mbox

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

Message ID 20160417091034.GD2737@nyan (mailing list archive)
State New, archived
Headers show

Commit Message

Felix Janda April 17, 2016, 9:10 a.m. UTC
<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 mbox

Patch

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>