summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
Diffstat (limited to 'src/host')
-rw-r--r--src/host/slbt_host_params.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c
index 94456e2..cd9ad87 100644
--- a/src/host/slbt_host_params.c
+++ b/src/host/slbt_host_params.c
@@ -15,6 +15,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
+#include "slibtool_spawn_impl.h"
#include "slibtool_errinfo_impl.h"
#include "slibtool_visibility_impl.h"
#include "slibtool_ar_impl.h"
@@ -63,7 +64,7 @@ static void slbt_spawn_ar(char ** argv, int * ecode)
*ecode = 127;
- if ((pid = fork()) < 0) {
+ if ((pid = slbt_fork()) < 0) {
return;
} else if (pid == 0) {