about summary refs log tree commit diff
path: root/sysdeps/htl/bits/types
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 00:27:31 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 21:07:44 +0200
commit783c4820303fb6b031d401564f8089ecaf154b62 (patch)
tree34cd40325e7f9d97a0fbc49f159f892cb5cb1671 /sysdeps/htl/bits/types
parentd6397de369d006da516cb560adfa2c181b6f4698 (diff)
downloadglibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.gz
glibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.xz
glibc-783c4820303fb6b031d401564f8089ecaf154b62.zip
Fix sched_param
Diffstat (limited to 'sysdeps/htl/bits/types')
-rw-r--r--sysdeps/htl/bits/types/struct___pthread_attr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/htl/bits/types/struct___pthread_attr.h b/sysdeps/htl/bits/types/struct___pthread_attr.h
index 2299c0179f..5c4b4e6c30 100644
--- a/sysdeps/htl/bits/types/struct___pthread_attr.h
+++ b/sysdeps/htl/bits/types/struct___pthread_attr.h
@@ -19,7 +19,7 @@
 #ifndef _BITS_TYPES_STRUCT___PTHREAD_ATTR
 #define _BITS_TYPES_STRUCT___PTHREAD_ATTR	1
 
-#include <sched.h>
+#include <bits/types/struct___sched_param.h>
 
 #define __need_size_t
 #include <stddef.h>
@@ -32,7 +32,7 @@ enum __pthread_contentionscope;
    that not all of them are supported on all systems.  */
 struct __pthread_attr
 {
-  struct sched_param __schedparam;
+  struct __sched_param __schedparam;
   void *__stackaddr;
   size_t __stacksize;
   size_t __guardsize;