From 80603fb3a86f72924ea81121cdae095ad0f2200a Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Fri, 27 Jan 2023 10:14:55 -0500 Subject: [PATCH] rts: Fix incorrect #include <sys/poll.h> According to Alpine's warnings and poll(2), <poll.h> should be preferred. --- rts/posix/ticker/Pthread.c | 2 +- rts/posix/ticker/TimerFd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rts/posix/ticker/Pthread.c b/rts/posix/ticker/Pthread.c index 6550ac5ac4bb..bd434e67d5cd 100644 --- a/rts/posix/ticker/Pthread.c +++ b/rts/posix/ticker/Pthread.c @@ -43,7 +43,7 @@ #include "Proftimer.h" #include "Schedule.h" #include "posix/Clock.h" -#include <sys/poll.h> +#include <poll.h> #include <time.h> #if HAVE_SYS_TIME_H diff --git a/rts/posix/ticker/TimerFd.c b/rts/posix/ticker/TimerFd.c index 73ece89a7f6b..0eb362426b8c 100644 --- a/rts/posix/ticker/TimerFd.c +++ b/rts/posix/ticker/TimerFd.c @@ -43,7 +43,7 @@ #include "Proftimer.h" #include "Schedule.h" #include "posix/Clock.h" -#include <sys/poll.h> +#include <poll.h> #include <time.h> #if HAVE_SYS_TIME_H -- GitLab