فهرست منبع

use #include <poll.h> consistently

fix build on Alpine that seems to be very picky when including
sys/poll.h directly.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto 1 روز پیش
والد
کامیت
653433b13e
10فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 1 1
      exec/main.c
  2. 1 1
      exec/totemknet.c
  3. 1 1
      exec/totemsrp.c
  4. 1 1
      exec/totemudp.c
  5. 1 1
      exec/totemudpu.c
  6. 1 1
      exec/vsf_quorum.c
  7. 1 1
      exec/vsf_ykd.c
  8. 1 1
      test/testtimer.c
  9. 1 1
      vqsim/vqmain.c
  10. 1 1
      vqsim/vqsim_vq_engine.c

+ 1 - 1
exec/main.c

@@ -75,7 +75,7 @@
 #include <assert.h>
 #include <sys/types.h>
 #include <sys/file.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <sys/mman.h>
 #include <sys/socket.h>

+ 1 - 1
exec/totemknet.c

@@ -54,7 +54,7 @@
 #include <sched.h>
 #include <time.h>
 #include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <limits.h>
 

+ 1 - 1
exec/totemsrp.c

@@ -69,7 +69,7 @@
 #include <sched.h>
 #include <time.h>
 #include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <limits.h>
 

+ 1 - 1
exec/totemudp.c

@@ -55,7 +55,7 @@
 #include <sched.h>
 #include <time.h>
 #include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <limits.h>
 

+ 1 - 1
exec/totemudpu.c

@@ -54,7 +54,7 @@
 #include <sched.h>
 #include <time.h>
 #include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <limits.h>
 

+ 1 - 1
exec/vsf_quorum.c

@@ -41,7 +41,7 @@
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <sys/mman.h>
 #include <sys/socket.h>

+ 1 - 1
exec/vsf_ykd.c

@@ -39,7 +39,7 @@
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <sys/mman.h>
 #include <sys/socket.h>

+ 1 - 1
test/testtimer.c

@@ -37,7 +37,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
 
 #include "../exec/timer.h"
 

+ 1 - 1
vqsim/vqmain.c

@@ -5,7 +5,7 @@
 #include <sys/wait.h>
 #include <qb/qblog.h>
 #include <qb/qbloop.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <netinet/in.h>
 #include <sys/queue.h>
 #ifdef HAVE_READLINE_READLINE_H

+ 1 - 1
vqsim/vqsim_vq_engine.c

@@ -9,7 +9,7 @@
 #include <qb/qbloop.h>
 #include <qb/qbipc_common.h>
 #include <netinet/in.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/socket.h>
 #include <stdio.h>