|
From: Paul F. <pa...@so...> - 2023-02-21 20:33:17
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=7b97ba6f17f73c0859d4186aa8637b5c1e888714 commit 7b97ba6f17f73c0859d4186aa8637b5c1e888714 Author: Paul Floyd <pj...@wa...> Date: Tue Feb 21 21:29:18 2023 +0100 musl: fix a couple of warnings musl doesn't have sys/poll.h GCC moans and then uses poll.h On glibc linux and FreeBSD poll.h is a symlink to sys/poll.h Illumos poll.h includes sys/poll.h Diff: --- auxprogs/valgrind-di-server.c | 2 +- auxprogs/valgrind-listener.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auxprogs/valgrind-di-server.c b/auxprogs/valgrind-di-server.c index a3357c004a..028948db04 100644 --- a/auxprogs/valgrind-di-server.c +++ b/auxprogs/valgrind-di-server.c @@ -98,7 +98,7 @@ #include <fcntl.h> #include <stdlib.h> #include <signal.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/auxprogs/valgrind-listener.c b/auxprogs/valgrind-listener.c index 29f0744f75..158f11c088 100644 --- a/auxprogs/valgrind-listener.c +++ b/auxprogs/valgrind-listener.c @@ -47,7 +47,7 @@ #include <fcntl.h> #include <stdlib.h> #include <signal.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> |