about summary refs log tree commit diff
path: root/posix
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 /posix
parentd6397de369d006da516cb560adfa2c181b6f4698 (diff)
downloadglibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.gz
glibc-783c4820303fb6b031d401564f8089ecaf154b62.tar.xz
glibc-783c4820303fb6b031d401564f8089ecaf154b62.zip
Fix sched_param
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile3
-rw-r--r--posix/sched.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 51dcf129ec..2a1cb2dd47 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -31,7 +31,8 @@ headers	:= sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h	      \
 	   bits/local_lim.h tar.h bits/utsname.h bits/confname.h	      \
 	   bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h	      \
 	   bits/sched.h bits/cpu-set.h re_comp.h wait.h bits/environments.h   \
-	   cpio.h spawn.h bits/unistd.h
+	   cpio.h spawn.h bits/unistd.h					      \
+	   bits/types/struct___sched_param.h bits/types/struct_sched_param.h
 
 routines :=								      \
 	uname								      \
diff --git a/posix/sched.h b/posix/sched.h
index 619b3b3a81..87a2336384 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -45,7 +45,7 @@ typedef __pid_t pid_t;
 
 /* Backward compatibility.  */
 #define sched_priority    sched_priority
-#define __sched_priority  sched_priority
+#define __sched_priority  __sched_priority
 
 
 __BEGIN_DECLS