diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-12-09 04:57:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-12-09 04:57:11 +0000 |
commit | c36fe58f4440370fd444419edd3a3497978c4424 (patch) | |
tree | deae579ef62bcab6bcd7657b9a3437f05710fe8a | |
parent | 1f61bbd8a58e9255f45774541d76ed0bbdc05f09 (diff) |
Add missing sys/types.h header
-rw-r--r-- | libc/sysdeps/linux/common/llseek.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sched_getparam.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sched_getscheduler.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sched_rr_get_interval.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sched_setparam.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/sched_setscheduler.c | 3 |
6 files changed, 12 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c index 3a821ca35..ea72dc4f3 100644 --- a/libc/sysdeps/linux/common/llseek.c +++ b/libc/sysdeps/linux/common/llseek.c @@ -7,8 +7,9 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#include <sys/syscall.h> #include <unistd.h> +#include <sys/types.h> +#include <sys/syscall.h> extern __typeof(lseek64) __libc_lseek64; diff --git a/libc/sysdeps/linux/common/sched_getparam.c b/libc/sysdeps/linux/common/sched_getparam.c index 594ba2571..117c6baa2 100644 --- a/libc/sysdeps/linux/common/sched_getparam.c +++ b/libc/sysdeps/linux/common/sched_getparam.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_getparam __NR_sched_getparam static inline _syscall2(int, __syscall_sched_getparam, diff --git a/libc/sysdeps/linux/common/sched_getscheduler.c b/libc/sysdeps/linux/common/sched_getscheduler.c index 1ede8bcca..89ecdf911 100644 --- a/libc/sysdeps/linux/common/sched_getscheduler.c +++ b/libc/sysdeps/linux/common/sched_getscheduler.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_getscheduler __NR_sched_getscheduler static inline _syscall1(int, __syscall_sched_getscheduler, __kernel_pid_t, pid); diff --git a/libc/sysdeps/linux/common/sched_rr_get_interval.c b/libc/sysdeps/linux/common/sched_rr_get_interval.c index fe412b066..a87d27fd2 100644 --- a/libc/sysdeps/linux/common/sched_rr_get_interval.c +++ b/libc/sysdeps/linux/common/sched_rr_get_interval.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_rr_get_interval __NR_sched_rr_get_interval static inline _syscall2(int, __syscall_sched_rr_get_interval, 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, 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, |