about summary refs log tree commit diff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 20:21:33 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 20:24:36 +0200
commite60c3f2bb71210ca62dc09b1b797443a88b4e3cf (patch)
tree50147302128a6f8518d75321079f311e39bd61f9 /sysdeps/htl
parent50511ca46641eb76aef1ca3fd96ad1e97f95c199 (diff)
downloadglibc-e60c3f2bb71210ca62dc09b1b797443a88b4e3cf.tar.gz
glibc-e60c3f2bb71210ca62dc09b1b797443a88b4e3cf.tar.xz
glibc-e60c3f2bb71210ca62dc09b1b797443a88b4e3cf.zip
hurd: Avoid exposing all <sched.h> symbols from sys/types.h
	* bits/sched.h: Include <bits/types/struct_sched_param.h> and move struct
	sched_param definition to it.
	* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
	* bits/types/struct_sched_param.h: New file.
	* sysdeps/htl/bits/types/struct___pthread_attr.h: Include
	<bits/types/struct_sched_param.h> instead of <sched.h>.
	* posix/Makefile (headers): Add bits/types/struct_sched_param.h.
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/bits/types/struct___pthread_attr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/bits/types/struct___pthread_attr.h b/sysdeps/htl/bits/types/struct___pthread_attr.h
index 2299c0179f..3c78291cbf 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>