For some reason, this is reported only with musl, and older glibc versions (2.31, at least). Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com> Reviewed-by: David Gibson <david(a)gibson.dropbear.id.au> --- udp_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/udp_flow.c b/udp_flow.c index b1133c0..1ff59a9 100644 --- a/udp_flow.c +++ b/udp_flow.c @@ -8,6 +8,7 @@ #include <errno.h> #include <fcntl.h> #include <sys/uio.h> +#include <unistd.h> #include "util.h" #include "passt.h" -- 2.43.0