svn commit: trunk/uClibc/libc/sysdeps/linux/common

andersen at uclibc.org andersen at uclibc.org
Sat Dec 9 04:57:11 UTC 2006


Author: andersen
Date: 2006-12-08 20:57:11 -0800 (Fri, 08 Dec 2006)
New Revision: 16826

Log:
Add missing sys/types.h header


Modified:
   trunk/uClibc/libc/sysdeps/linux/common/llseek.c
   trunk/uClibc/libc/sysdeps/linux/common/sched_getparam.c
   trunk/uClibc/libc/sysdeps/linux/common/sched_getscheduler.c
   trunk/uClibc/libc/sysdeps/linux/common/sched_rr_get_interval.c
   trunk/uClibc/libc/sysdeps/linux/common/sched_setparam.c
   trunk/uClibc/libc/sysdeps/linux/common/sched_setscheduler.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/llseek.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/llseek.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/llseek.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <unistd.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <unistd.h>
 
 extern __typeof(lseek64) __libc_lseek64;
 

Modified: trunk/uClibc/libc/sysdeps/linux/common/sched_getparam.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/sched_getparam.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/sched_getparam.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <sched.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <sched.h>
 
 #define __NR___syscall_sched_getparam __NR_sched_getparam
 static inline _syscall2(int, __syscall_sched_getparam,

Modified: trunk/uClibc/libc/sysdeps/linux/common/sched_getscheduler.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/sched_getscheduler.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/sched_getscheduler.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <sched.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <sched.h>
 
 #define __NR___syscall_sched_getscheduler __NR_sched_getscheduler
 static inline _syscall1(int, __syscall_sched_getscheduler, __kernel_pid_t, pid);

Modified: trunk/uClibc/libc/sysdeps/linux/common/sched_rr_get_interval.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/sched_rr_get_interval.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/sched_rr_get_interval.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <sched.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <sched.h>
 
 #define __NR___syscall_sched_rr_get_interval __NR_sched_rr_get_interval
 static inline _syscall2(int, __syscall_sched_rr_get_interval,

Modified: trunk/uClibc/libc/sysdeps/linux/common/sched_setparam.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/sched_setparam.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/sched_setparam.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <sched.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <sched.h>
 
 #define __NR___syscall_sched_setparam __NR_sched_setparam
 static inline _syscall2(int, __syscall_sched_setparam,

Modified: trunk/uClibc/libc/sysdeps/linux/common/sched_setscheduler.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/sched_setscheduler.c	2006-12-09 01:32:13 UTC (rev 16825)
+++ trunk/uClibc/libc/sysdeps/linux/common/sched_setscheduler.c	2006-12-09 04:57:11 UTC (rev 16826)
@@ -7,8 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+#include <sched.h>
+#include <sys/types.h>
 #include <sys/syscall.h>
-#include <sched.h>
 
 #define __NR___syscall_sched_setscheduler __NR_sched_setscheduler
 static inline _syscall3(int, __syscall_sched_setscheduler,




More information about the uClibc-cvs mailing list