diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-08-20 00:22:55 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-21 12:03:34 +0200 |
commit | 7291b70ba7fb2c5ba11e00381d645a6c771881d9 (patch) | |
tree | 394ec095fa3457ea0acb6ef4a863fe1f3ac70406 | |
parent | 396307541ef86fdf769df59ef97e9704dbf3d688 (diff) | |
download | passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar.gz passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar.bz2 passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar.lz passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar.xz passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.tar.zst passt-7291b70ba7fb2c5ba11e00381d645a6c771881d9.zip |
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>
-rw-r--r-- | udp_flow.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include <errno.h> #include <fcntl.h> #include <sys/uio.h> +#include <unistd.h> #include "util.h" #include "passt.h" |