aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2007-05-12 21:06:31 +0000
committerAndreas Jaeger <aj@suse.de>2007-05-12 21:06:31 +0000
commit11ed671328d01ce486e11a80f66bf596d8b0fd44 (patch)
tree1a1ef2ed495dac2ad241f393a12d97ab37192030
parent9b0d1c0236d5dc61f2e1574078e48ec0188e384a (diff)
downloadglibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.zip
glibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.tar.gz
glibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.tar.bz2
* 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--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/tst-getcpu.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 72b5256..576aa3d 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 78c4a69..bf3cb57 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