about summary refs log tree commit diff
path: root/nptl/pthread_setattr_default_np.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-01-08 10:49:40 -0800
committerRoland McGrath <roland@hack.frob.com>2015-01-08 10:49:40 -0800
commit59ff172f8064757e2302f9b4fb7583ec2841d591 (patch)
tree18b57d9512d0b8d347e363dae4664063c0240e9f /nptl/pthread_setattr_default_np.c
parentb92058573b4b26ad0700c73d0ba33a796556e7fa (diff)
downloadglibc-59ff172f8064757e2302f9b4fb7583ec2841d591.tar.gz
glibc-59ff172f8064757e2302f9b4fb7583ec2841d591.tar.xz
glibc-59ff172f8064757e2302f9b4fb7583ec2841d591.zip
NPTL: Refactor cpu_set_t validation to be sysdeps-controlled
This removes Linuxisms related to cpu_set_t validation from the
generic NPTL code and puts them into a new sysdeps header file.
Diffstat (limited to 'nptl/pthread_setattr_default_np.c')
-rw-r--r--nptl/pthread_setattr_default_np.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/pthread_setattr_default_np.c b/nptl/pthread_setattr_default_np.c
index 8d5bb710db..457a467df8 100644
--- a/nptl/pthread_setattr_default_np.c
+++ b/nptl/pthread_setattr_default_np.c
@@ -21,6 +21,8 @@
 #include <pthreadP.h>
 #include <assert.h>
 #include <string.h>
+#include <check-cpuset.h>
+
 
 int
 pthread_setattr_default_np (const pthread_attr_t *in)