The manpage of poll(2) states that the prototype of poll is defined in <poll.h>. Use that header file instead of <sys/poll.h> to allow compilation against musl-libc. Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> --- disk/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/core.c b/disk/core.c index 309e16c..dd2f258 100644 --- a/disk/core.c +++ b/disk/core.c @@ -5,7 +5,7 @@ #include <linux/err.h> #include <sys/eventfd.h> -#include <sys/poll.h> +#include <poll.h> #define AIO_MAX 256 -- 2.3.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html