diff options
author | Andreas Jaeger <aj@suse.de> | 2007-05-12 21:06:31 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2007-05-12 21:06:31 +0000 |
commit | 11ed671328d01ce486e11a80f66bf596d8b0fd44 (patch) | |
tree | 1a1ef2ed495dac2ad241f393a12d97ab37192030 | |
parent | 9b0d1c0236d5dc61f2e1574078e48ec0188e384a (diff) | |
download | glibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.tar.gz glibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.tar.xz glibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.zip |
* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
2007-05-12 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
-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 |