summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setscheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sched_setscheduler.c')
-rw-r--r--libc/sysdeps/linux/common/sched_setscheduler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/sched_setscheduler.c b/libc/sysdeps/linux/common/sched_setscheduler.c
index 8f6a1da0d..05ada79e5 100644
--- a/libc/sysdeps/linux/common/sched_setscheduler.c
+++ b/libc/sysdeps/linux/common/sched_setscheduler.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_setscheduler __NR_sched_setscheduler
static inline _syscall3(int, __syscall_sched_setscheduler,