about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/nptl-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 9f7b20a90e..44223a7a41 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -162,9 +162,11 @@ static
 void
 __nptl_set_robust (struct pthread *self)
 {
+#ifdef __NR_set_robust_list
   INTERNAL_SYSCALL_DECL (err);
   INTERNAL_SYSCALL (set_robust_list, err, 2, &self->robust_head,
 		    sizeof (struct robust_list_head));
+#endif
 }