summaryrefslogtreecommitdiff
path: root/src/libstddjb/child_spawn-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/child_spawn-internal.h')
-rw-r--r--src/libstddjb/child_spawn-internal.h16
1 files changed, 16 insertions, 0 deletions
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 <skalibs/sysdeps.h>
+
+#ifdef SKALIBS_HASPOSIXSPAWNEARLYRETURN
+
+#include <sys/types.h>
+
+extern pid_t child_spawn_workaround (pid_t, int const *) ; /* closes the pipe */
+
+#endif
+
+#endif