summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setscheduler.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-09 04:57:11 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-09 04:57:11 +0000
commitc36fe58f4440370fd444419edd3a3497978c4424 (patch)
treedeae579ef62bcab6bcd7657b9a3437f05710fe8a /libc/sysdeps/linux/common/sched_setscheduler.c
parent1f61bbd8a58e9255f45774541d76ed0bbdc05f09 (diff)
Add missing sys/types.h header
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,