]> sourceware.org Git - valgrind.git/commitdiff
musl: fix a couple of warnings
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 21 Feb 2023 20:29:18 +0000 (21:29 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 21 Feb 2023 20:29:18 +0000 (21:29 +0100)
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

auxprogs/valgrind-di-server.c
auxprogs/valgrind-listener.c

index a3357c004a476195c9060b75747a9afd37092ff9..028948db04c1df25d6865e34c73e78ae05258d35 100644 (file)
@@ -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>
index 29f0744f75dea91d043186345744be5316571d24..158f11c088cb2830d43879d4896d88f745af852c 100644 (file)
@@ -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>
This page took 0.035833 seconds and 5 git commands to generate.