From 28e09b5eb76919122f8baf57899154b3dd5fdaa0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 28 Jun 2023 21:27:29 +0000 Subject: Add workaround for bad QoI posix_spawn() Signed-off-by: Laurent Bercot --- src/libstddjb/child_spawn-internal.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/libstddjb/child_spawn-internal.h (limited to 'src/libstddjb/child_spawn-internal.h') diff --git a/src/libstddjb/child_spawn-internal.h b/src/libstddjb/child_spawn-internal.h new file mode 100644 index 0000000..b0f701c --- /dev/null +++ b/src/libstddjb/child_spawn-internal.h @@ -0,0 +1,16 @@ +/* ISC license. */ + +#ifndef CHILD_SPAWN_INTERNAL_H +#define CHILD_SPAWN_INTERNAL_H + +#include + +#ifdef SKALIBS_HASPOSIXSPAWNEARLYRETURN + +#include + +extern pid_t child_spawn_workaround (pid_t, int const *) ; /* closes the pipe */ + +#endif + +#endif -- cgit v1.2.3