diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-getcpu.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 72b5256ddc..576aa3d266 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-12 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for + getpid. + 2007-05-11 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by diff --git a/sysdeps/unix/sysv/linux/tst-getcpu.c b/sysdeps/unix/sysv/linux/tst-getcpu.c index 78c4a6919e..bf3cb57dd8 100644 --- a/sysdeps/unix/sysv/linux/tst-getcpu.c +++ b/sysdeps/unix/sysv/linux/tst-getcpu.c @@ -1,6 +1,7 @@ #include <errno.h> #include <stdio.h> #include <sched.h> +#include <unistd.h> static int |