1
0
mirror of https://passt.top/passt synced 2024-12-22 05:35:23 +00:00

udp_flow: Add missing unistd.h include for close()

For some reason, this is reported only with musl, and older glibc
versions (2.31, at least).

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2024-08-20 00:22:55 +02:00
parent 396307541e
commit 7291b70ba7

View File

@ -8,6 +8,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <unistd.h>
#include "util.h"
#include "passt.h"