diff options
Diffstat (limited to 'sysdeps/stub/sched_sets.c')
-rw-r--r-- | sysdeps/stub/sched_sets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_sets.c b/sysdeps/stub/sched_sets.c index e013e7a554..99113b1ad7 100644 --- a/sysdeps/stub/sched_sets.c +++ b/sysdeps/stub/sched_sets.c @@ -18,11 +18,12 @@ Boston, MA 02111-1307, USA. */ #include <errno.h> #include <sched.h> +#include <sys/types.h> /* Set scheduling algorithm and/or parameters for a process. */ int -__sched_setscheduler (pid_t pid, int policy, const struct sched_param *param) +__sched_setscheduler (pid_t pid, int policy, const struct sched_params *param) { errno = ENOSYS; return -1; |