aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/sched_getp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sched_getp.c')
-rw-r--r--sysdeps/stub/sched_getp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_getp.c b/sysdeps/stub/sched_getp.c
index 081458a1b6..3fc0b458c1 100644
--- a/sysdeps/stub/sched_getp.c
+++ b/sysdeps/stub/sched_getp.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>
/* Retrieve scheduling parameters for a particular process. */
int
-__sched_getparam (pid_t pid, struct sched_param *param)
+__sched_getparam (pid_t pid, struct sched_params *param)
{
errno = ENOSYS;
return -1;