Skip to contentSkip to conversation

Consistently include <poll.h> instead of <sys/poll.h>

PATCH In review Felix Janda 1 participant 1 message Apr 17, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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

---
 src/rtime.c   | 2 +-
 src/svc_run.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
src/rtime.c +1 -1
index b642840..32ab9f0 100644
@@ -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>
src/svc_run.c +1 -1
index f40314b..7123d51 100644
@@ -37,7 +37,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
 
 
 #include <rpc/rpc.h>
Signature · 1 line
2.7.3