summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tst-getcpu.c
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 /sysdeps/unix/sysv/linux/tst-getcpu.c
parent9b0d1c0236d5dc61f2e1574078e48ec0188e384a (diff)
downloadglibc-11ed671328d01ce486e11a80f66bf596d8b0fd44.tar.gz
* 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-getcpu.c')
-rw-r--r--sysdeps/unix/sysv/linux/tst-getcpu.c1
1 files changed, 1 insertions, 0 deletions
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