diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 18:40:56 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 18:40:56 +0200 |
commit | 494cf4879f4ad468ba7c5d02e756db20df8822c2 (patch) | |
tree | 495ac5b094691030654c2bb2259c9fe0f101cc7f /sysdeps/generic/bits/thread-attr.h | |
parent | c28241162c00127bb5c0d03bbbbfc835a15e8f68 (diff) | |
parent | c2a1b325b7b2ce0d3d16bd1e9430e1d7eddce71e (diff) |
Merge commit 'refs/top-bases/t/fix_inline' into t/fix_inline
Diffstat (limited to 'sysdeps/generic/bits/thread-attr.h')
-rw-r--r-- | sysdeps/generic/bits/thread-attr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/bits/thread-attr.h b/sysdeps/generic/bits/thread-attr.h index c3a93fd..f2e55f2 100644 --- a/sysdeps/generic/bits/thread-attr.h +++ b/sysdeps/generic/bits/thread-attr.h @@ -20,7 +20,8 @@ #ifndef _BITS_THREAD_ATTR_H #define _BITS_THREAD_ATTR_H 1 -#include <sched.h> +#define __need_schedparam +#include <bits/sched.h> enum __pthread_detachstate; enum __pthread_inheritsched; @@ -30,7 +31,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; |