aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-08-20 00:22:55 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 12:03:34 +0200
commit7291b70ba7fb2c5ba11e00381d645a6c771881d9 (patch)
tree394ec095fa3457ea0acb6ef4a863fe1f3ac70406
parent396307541ef86fdf769df59ef97e9704dbf3d688 (diff)
downloadpasst-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.c1
1 files changed, 1 insertions, 0 deletions
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"