summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sched_setparam.c')
-rw-r--r--libc/sysdeps/linux/common/sched_setparam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/sched_setparam.c b/libc/sysdeps/linux/common/sched_setparam.c
index 5bd1ce574..94a3cee54 100644
--- a/libc/sysdeps/linux/common/sched_setparam.c
+++ b/libc/sysdeps/linux/common/sched_setparam.c
@@ -7,8 +7,9 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include <sys/syscall.h>
#include <sched.h>
+#include <sys/types.h>
+#include <sys/syscall.h>
#define __NR___syscall_sched_setparam __NR_sched_setparam
static inline _syscall2(int, __syscall_sched_setparam,