summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
authorbje <bje>1998-07-24 12:09:32 +0000
committerbje <bje>1998-07-24 12:09:32 +0000
commite014e52e7c0bab89204339f0dc98c110ae48715b (patch)
treee005b5ad4c4670dea578dd99164c2004871add4b /create.c
parent44a56b7d9a229b18b9f9886888eb344ee3f1ff99 (diff)
Minor #include and #ifdef fixes.
Diffstat (limited to 'create.c')
-rw-r--r--create.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/create.c b/create.c
index e8fd1c1..74d207d 100644
--- a/create.c
+++ b/create.c
@@ -86,7 +86,10 @@ pthread_create(pthread_t *thread,
attr_copy->canceltype = attr->canceltype;
attr_copy->detached = attr->detached;
attr_copy->priority = attr->priority;
+
+#if HAVE_SIGSET_T
memcpy(attr_copy.sigmask, attr.sigmask, sizeof(sigset_t));
+#endif /* HAVE_SIGSET_T */
}
/* Start running, not suspended. */