aboutgitcodebugslistschat
path: root/util.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-11-29 14:19:06 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-12-02 03:54:55 +0100
commitbae676a44e7f7e49209f380523b1516e6c824acf (patch)
tree044df965543a1d86de3404af360039c393da927a /util.h
parent7e175f32c1213bc4d86b039059164dcb1c4ed2e5 (diff)
downloadpasst-bae676a44e7f7e49209f380523b1516e6c824acf.tar
passt-bae676a44e7f7e49209f380523b1516e6c824acf.tar.gz
passt-bae676a44e7f7e49209f380523b1516e6c824acf.tar.bz2
passt-bae676a44e7f7e49209f380523b1516e6c824acf.tar.lz
passt-bae676a44e7f7e49209f380523b1516e6c824acf.tar.xz
passt-bae676a44e7f7e49209f380523b1516e6c824acf.tar.zst
passt-bae676a44e7f7e49209f380523b1516e6c824acf.zip
port_fwd, util: Include additional headers to fix build with musl
lseek() is declared in unistd.h, and stdio.h provides sscanf(). Include these two headers in port_fwd.c. SIGCHLD, even if used exclusively for clone(), is defined in signal.h: add the include to util.h, as NS_CALL needs it. Reported-by: lemmi <lemmi@nerd2nerd.org> Link: https://github.com/void-linux/void-packages/actions/runs/6999782606/job/19039526604#step:7:57 Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 1f02588..86f1a7e 100644
--- a/util.h
+++ b/util.h
@@ -10,6 +10,7 @@
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
+#include <signal.h>
#include "log.h"