about summary refs log tree commit diff
path: root/sysdeps/stub/sched_setp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sched_setp.c')
-rw-r--r--sysdeps/stub/sched_setp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_setp.c b/sysdeps/stub/sched_setp.c
index 2830618700..10b0cb3c6c 100644
--- a/sysdeps/stub/sched_setp.c
+++ b/sysdeps/stub/sched_setp.c
@@ -17,12 +17,13 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include <errno.h>
+#include <sys/types.h>
 #include <sched.h>
 
 
 /* Set scheduling parameters for a process.  */
 int
-__sched_setparam (pid_t pid, const struct sched_param *param)
+__sched_setparam (pid_t pid, const struct sched_params *param)
 {
   errno = ENOSYS;
   return -1;