summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-18 18:17:05 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-18 18:17:05 +0530
commitffaa74cf68a370e232279a9a9b0a02ade287cc99 (patch)
treeb5e0d38ef27cac59fc62aaa66b40582c89fd060e /nptl/sysdeps/pthread
parentbe179c8a36fc171acff0634ac50ad31269ad4742 (diff)
Fix build warnings in some test cases
Include stdlib.h to get declaration of exit(3)
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r--nptl/sysdeps/pthread/tst-timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c
index f46addd791..fa1b6e72a3 100644
--- a/nptl/sysdeps/pthread/tst-timer.c
+++ b/nptl/sysdeps/pthread/tst-timer.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <time.h>
#include <unistd.h>
+#include <stdlib.h>
static void