From 783c4820303fb6b031d401564f8089ecaf154b62 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 18 Apr 2018 00:27:31 +0200 Subject: Fix sched_param --- posix/Makefile | 3 ++- posix/sched.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'posix') diff --git a/posix/Makefile b/posix/Makefile index 51dcf12..2a1cb2d 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 619b3b3..87a2336 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 -- cgit v1.1