[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r2222 - in /fsf/trunk/libc: ChangeLog sysdeps/unix/sysv/linux/tst-getcpu.c



Author: eglibc
Date: Sun May 13 00:02:23 2007
New Revision: 2222

Log:
Import glibc-mainline for 2007-05-13

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/unix/sysv/linux/tst-getcpu.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sun May 13 00:02:23 2007
@@ -1,3 +1,8 @@
+2007-05-12  Andreas Jaeger  <aj@xxxxxxx>
+
+	* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for
+	getpid.
+
 2007-05-11  Ulrich Drepper  <drepper@xxxxxxxxxx>
 
 	* elf/dl-close.c (_dl_close_worker): Help gcc to optimize by

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/tst-getcpu.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/tst-getcpu.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/tst-getcpu.c Sun May 13 00:02:23 2007
@@ -1,6 +1,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <sched.h>
+#include <unistd.h>
 
 
 static int